1.下载指定语言的火狐浏览器

https://www.mozilla.org/zh-CN/firefox/all/#product-desktop-release

2.卸载系统当前 firefox

  1. apt-get purge firefox

3.解压到 /opt/ 目录下

  1. tar jxvf Firefox-latest-x86_64.tar.bz2 -C /opt

4.更改属主

  1. chown -R root:root /opt/firefox

5.创建桌面快捷方式

  1. vim /usr/share/applications/firefox.desktop
  1. [Desktop Entry]
  2. Name=firefox
  3. Name[zh_CN]=火狐浏览器
  4. Comment=火狐浏览器
  5. Exec=/opt/firefox/firefox
  6. Icon=/opt/firefox/browser/chrome/icons/default/default128.png
  7. Terminal=false
  8. Type=Application
  9. Categories=Application;
  10. Encoding=UTF-8
  11. StartupNotify=true

6.创建启动程序链接

  1. ln -s /usr/share/applications/firefox.desktop /usr/bin/firefox