两种方法,第一种,直接去官网下载,然后直接运行firefox 就可以了
第二种,类似chrome的,添加完整的path.这里我们讲第二种方法
首先添加源地址 ,在/etc/apt/sources.list 里面 最后添加
deb http://downloads.sourceforge.net/project/ubuntuzilla/mozilla/apt all main
或者终端直接stdin
#echo -e "\ndeb
http://downloads.sourceforge.net/project/ubuntuzilla/mozilla/apt all
main" | tee -a /etc/apt/sources.list > /dev/null
添加key
#apt-key adv --recv-keys --keyserver keyserver.ubuntu.com C1289A29
更新
#apt-get update
安装firefox
#apt-get install firefox-mozilla-build
提示错误
dpkg-divert: `diversion of /usr/bin/firefox to /usr/bin/firefox.ubuntu by firefox-mozilla-build' clashes with `diversion of /usr/bin/firefox to /usr/bin/firefox.real by iceweasel'
dpkg: error processing /var/cache/apt/archives/firefox-mozilla-build_15.0-0ubuntu1_amd64.deb (--unpack):
subprocess new pre-