Debian/Kali 安装原生Firefox
来源:互联网 发布:罗比威廉姆斯 知乎 编辑:程序博客网 时间:2024/06/05 20:02
出于种种原因,有很多人信仰原装纯净;就像debian下的iceweasel,有人总想换成firefox。好吧,正好最近29版发布了,我们无视掉这两者哥两好的关系,尝试在Debian/Kali 下安装Firefox。
如果直接apt-get remove iceweasel 时是无法成功卸载的,貌似是由于iceseasel是默认浏览器导致,所以我们先安装一个chrome之类的浏览器,并设置成默认浏览器即可,试试看现在是不是可以直接卸载了!
然后打开 /etc/apt/sources.list 添加软件源:
deb http://downloads.sourceforge.net/project/ubuntuzilla/mozilla/apt all main
安装密钥环
apt-key adv --recv-keys--keyserver keyserver.ubuntu.com C1289A29
更新下
apt-get update
开始安装
apt-get install firefox-mozilla-build
更简单的,也可以直接从官网下载官方编译好的压缩包,解压就可以运行。
两种方法,第一种,直接去官网下载,然后直接运行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 2
- configured 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 2
- Errors were encountered while processing:
- /var/cache/apt/archives/firefox-mozilla-build_15.0-0ubuntu1_amd64.deb
- E: Sub-process /usr/bin/dpkg returned an error code (1)
#apt-get remove iceweasel
- root@debian:/etc/apt# apt-get remove iceweasel
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- The following packages will be REMOVED:
- iceweasel
- 0 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#
如果没有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/Kali 安装原生Firefox
- Kali安装firefox浏览器
- debian 安装firefox 最新版
- Debian安装firefox
- debian安装firefox的问题
- debian(kali Linux) 安装net Core
- 在Kali上快速安装Firfox【Install firefox in Kali】
- debian下手动安装并使用firefox
- debian下为firefox安装flash插件
- Debian【kali linux-2017 01】和ubuntu 17.04安装wineQQ
- kali更新源 并为firefox安装flash
- debian amd64上编译安装firefox 3.5.5
- Debian下安装Mozilla版本的Firefox等软件
- VirtualBox 安装 debian 或 kali 安装增强功能失败的解决方案
- 一顿好找。。。Kali linux( debian系 linux) Qt5 安装qt designer
- 安装Kali上的工具在其他Debian系的Linux系统上
- Debian firefox 手动更新
- Kali 安装
- 分享上传图片shell的绕过过滤的几种方法
- WiFi安全测试工具WiFiPhisher
- 分享几种绕过防注入的方法
- 记录利用ettercap进行简单的arp欺骗和mitm攻击过程
- Ettercap结合sslstrip对ssl/https进行攻击
- Debian/Kali 安装原生Firefox
- Wifi密码破解
- 使用websploit在局域网全自动渗透
- 轻松bypass360网站卫士WAFSQL注入防护
- nmap脚本使用总结
- POJ 2533 Longest Ordered Subsequence
- OWASP出品:Xenotix XSS漏洞测试框架及简单使用
- backtrack渗透测试中常用的命令总结
- Windows+linux命令大集合