[firefox]在Debian7及其衍生版下安装firefox

Easy way to install Firefox browser on Debian 7 wheezy

Debian by default comes with Iceweasel web browser instead of firefox. Although it is recommended to use Iceweasel you may have a need to install firefox are here is a simple way how to install firefox on Debian wheezy by using Linux mint's debian import repository. First edit your /etc/apt/sources.list file and add the following line:

deb http://packages.linuxmint.com debian import

Update your package list:

# apt-get update

The above command will fetch mint package repository list. As a last step install firefox browser:

# apt-get install firefox

You may want to disable Linux Mint's package repository after Firefox installation by commenting a newly added line in apt sources.list.

Debian 环境下是没有firefox的,由于Debian发布的是完全 自由的软件,由于商标原因就重新编译了FireFox并改名为Iceweasel,因此Iceweasel和Firefox插件还是功能什么的一样用,那 如果想安装原生的firefox肿么破,分享一个网上的方法

可以先登录Ubuntuzilla项目主页 通过几步来应用这个APT源:

1. 添加APT源地址

我们需要在/etc/apt/sources.list添加下面的源地址:

deb http://downloads.sourceforge.net/project/ubuntuzilla/mozilla/apt all main

除了使用编辑器外我们还可以通过下面的命令操作来轻松完成:

echo -e "\ndeb http://downloads.sourceforge.net/project/ubuntuzilla/mozilla/apt all main" | sudo tee -a /etc/apt/sources.list > /dev/null

2. 导入密钥Key

sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com C1289A29

3. 更新APT源列表

sudo apt-get update

4. 安装软件

通过下面的命令可以分别安装FireFox、SeaMonkey以及ThunderBird:

安装FireFox sudo apt-get install firefox-mozilla-build # 安装ThunderBird sudo apt-get install thunderbird-mozilla-build # 安装SeaMonkey sudo apt-get install seamonkey-mozilla-build

下面说firefox的中文化,点这里http://releases.mozilla.org/pub/mozilla.org/firefox/releases/latest/win32/xpi/

安装完拓展语言包后在浏览器中输入about:config然后找到下面的

general.useragent.locale将en_US改为zh_CN即可。

不过要先卸载掉iceweasel才可以,所以还是有冒风险的,请参见上一篇博客