Ubuntu 怎么卸载自带的国际版 firefox,安装中国版的 firefox

來源:https://zhidao.baidu.com/question/1609428743281184507.html

1、首先,从火狐中国下载linux版本,根据设备情况正确选择64或者32位版本,
Firefox-latest-x86_64.tar.bz2对应64位,
Firefox-latest.tar.bz2对应32位版本。
2、使用命令行:sudo apt-get purge firefox firefox-gnome-support,执行后即可删除之前的版本;

然后怎么把firefox放进启动器里呢:

来源:

https://my.oschina.net/xyxld/blog/905377

下载合适的firefox版本(个人偏向下载延长支持版,原因自知,呵呵):

64bits: 
#wget  http://download.firefox.com.cn/releases/firefox/esr/52.1/zh-CN/Firefox-latest-x86_64.tar.bz2
32bits:
#wget http://download.firefox.com.cn/releases/firefox/esr/52.1/zh-CN/Firefox-latest.tar.bz2

 配置firefox(安装firefox):

#sudo su
#cd /home/user_name/下载/
#tar xf Firefox-latest-x86_64.tar.bz2
#mv firefox /opt/
#ln -s /opt/firefox/firefox  /usr/bin/firefox
打开浏览器(如果失败了,可以尝试注销重新登录,在执行)
#firefox     

安装其实很简单,之前有用14.04LTS 好像是系统自带了firefox(具体不记得了)

如果在注销了重新登录系统之后还是提示找不到firefox命令,这个是后可能是你firefox的版本和系统的版本不一致,如果64bits安装了32bits的firefox,之前在安装别的软件的时候,又看到64bits对与32bits的默认不支持,需要安装32bits启动器架构(具体自行百度)

启动器添加firefox图标

#cd /usr/share/applications/
#vim firefox.desktop
[Desktop Entry]
Name=firefox     
Name[zh_CN]=火狐浏览器
Comment=火狐浏览器
Exec=/opt/firefox/firefox        
Icon=/opt/firefox/browser/icons/mozicon128.png
Terminal=false
Type=Application
Categories=Application;
Encoding=UTF-8
StartupNotify=true

具体firefox可执行文件和图标的路径请根据自己实际存放的路径配置

在搜索您的本地资源中选着右边的Dash,刷新选项,在应用选项中就会有了mozicon128.png的firefox图标,拖动到启动器上即可。

猜你喜欢

转载自blog.csdn.net/qq_29567851/article/details/84068165