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图标,拖动到启动器上即可。

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值