debian 安装firefox 最新版
来源:互联网 发布:深圳淘宝运营招聘 编辑:程序博客网 时间:2024/05/17 03:30
两种方法,第一种,直接去官网下载,然后直接运行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-installation script returned error exit status 2configured to not write apport reports dpkg-divert: mismatch on divert-to when removing `diversion of /usr/bin/firefox to /usr/bin/firefox.ubuntu by firefox-mozilla-build' found `diversion of /usr/bin/firefox to /usr/bin/firefox.real by iceweasel'dpkg: error while cleaning up: subprocess new post-removal script returned error exit status 2Errors were encountered while processing: /var/cache/apt/archives/firefox-mozilla-build_15.0-0ubuntu1_amd64.debE: Sub-process /usr/bin/dpkg returned an error code (1)原来是iceweasel和firefox15冲突了.新的不能覆盖掉,那就remove掉
#apt-get remove iceweasel
root@debian:/etc/apt# apt-get remove iceweaselReading package lists... DoneBuilding dependency tree Reading state information... DoneThe following packages will be REMOVED: iceweasel0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.1 not fully installed or removed.Need to get 0 B/22.0 MB of archives.After this operation, 4,092 kB disk space will be freed.Do you want to continue [Y/n]? y(Reading database ... dpkg: warning: files list file for package `firefox-mozilla-build' missing, assuming package has no files currently installed.(Reading database ... 126622 files and directories currently installed.)Preparing to replace firefox-mozilla-build 15.0-0ubuntu1 (using .../firefox-mozilla-build_15.0-0ubuntu1_amd64.deb) ...Unpacking replacement firefox-mozilla-build ...Processing triggers for gnome-menus ...Processing triggers for desktop-file-utils ...(Reading database ... 126696 files and directories currently installed.)Removing iceweasel ...Removing 'diversion of /usr/bin/firefox to /usr/bin/firefox.real by iceweasel'Processing triggers for menu ...Processing triggers for hicolor-icon-theme ...Processing triggers for man-db ...Processing triggers for gnome-menus ...Processing triggers for desktop-file-utils ...Setting up firefox-mozilla-build (15.0-0ubuntu1) ...root@debian:/etc/apt#打开你的互联网,里面已经有firefox了
如果没有flash插件
#apt-get install flashplugin-nonfree
如果想要中文的,用firefox打开下面的链接,下载zh-cn.xpi
http://releases.mozilla.org/pub/mozilla.org/firefox/releases/latest/win32/xpi/
然后安装这个,再在地址栏输入about:config
搜索useragent,最下面的一个general.useragent.locale双击修改里面的en-US 为zh-CN
然后重启firefox就可以了
注:
在后面的更新中,或者系统更新了,比如你更新到debian 7wheezy 里面,如果remove掉iceweasel, 会提示你autoremove 掉gnome 和其他一些, 这是因为在wheezy中已经捆绑了iceweasel, 你只需要dppkg -P iceweasel 然后把firefox装好, 接下来重新安装一下apt-get install gnome就可以解决掉这个问题。
如果删不了, 可以执行dpkg --remove --force-remove-reinstreq firefox-mozilla-build 来强制删除
- debian 安装firefox 最新版
- Debian安装最新版Redis
- ubuntu安装firefox最新版
- Redhat6安装最新版Firefox
- Debian安装firefox
- CentOS6.4+ 安装firefox最新版
- 最新版FireFox浏览器安装FireBug
- CentOS6.5安装最新版 firefox
- CentOS6.5安装最新版 firefox
- CentOS 7安装最新版firefox(Firefox Quantum)
- debian安装firefox的问题
- Debian/Kali 安装原生Firefox
- 在Ubuntu(Debian)上安装最新版Git
- ubuntu/debian 安装官方最新版 nginx
- 在Ubuntu(Debian)上安装最新版Git
- ubuntu14.04 LTS安装firefox最新版
- debian下手动安装并使用firefox
- debian下为firefox安装flash插件
- androidpn-client修正服务器断开后重新链接重要代码
- 常用的stsadm命令行参数
- c++中关于数组作为函数参数并传递数组元素个数的几种有效方法的讨论
- sqlserver中创建链接服务器图解教程
- [转]微博能泄漏你生活上的大量信息,可能被人利用为对付你的工具
- debian 安装firefox 最新版
- 21种思维方式助你跻身富人阶层
- 家乡的小河
- [转]让孩子听话的九大妙招
- UBUNTU下星际译王安装
- ant 编译android工程
- SharePoint Server 2010 容量管理:软件边界和限制(转自Microsoft TechNet库)
- 苹果开始整治App Store恶意抄袭现象
- C语言超级经典400道题目