Ubuntu 上安装 Firefox 4 的方法

本文提供了一种简便的方法来在 Ubuntu 上安装 Firefox 4.0。通过添加 Mozilla 团队提供的 PPA 到软件中心,用户可以轻松地升级到最新版本。此外,还提供了一个实时展示 Firefox 4 下载量的网页链接。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Now, for most users, getting Firefox is as easy as going to http://getfirefox.com and clicking the big green download button. Or by clicking on Help -> Check for Updates at the very top right of your Firefox window. Unfortunately, for Linux-based operating systems, Mozilla only provides a tarball package of their new release. This works perfectly fine once extracted somewhere on your computer and running the “firefox” binary. But it isn’t a very clean or trackable install. Fortunately, there is a Mozilla Team at Ubuntu for all of it’s users who have taken the time to package up Firefox 4.0 into a PPA you can add to your Software Center which will allow you to upgrade to the latest version just like any other normal update. I have found easy instructions from a recent post on the Ubuntu Planet here. Thank you Adnan Quaium.

1. Go to Appli­ca­tions > Ubuntu Soft­ware Cen­ter from the top panel.
2. Head to Edit > Soft­ware Sources and click the ‘Other Soft­ware’ tab.
3. Press ‘Add’ but­ton and then paste the fol­low­ing line into the rel­e­vant field to add thePPA.
ppa:mozillateam/firefox-stable
4. After adding the PPA you will be prompted to update your sources.
5. Once the update is done you can head to Sys­tem > Admin­is­tra­tion > Update Man­ager to per­form an upgrade.
6. Thus FF4 will be installed in the system.

 

有一个动态显示 Firefox 4 下载量的网页

 

http://glow.mozilla.org/

 

每分钟对下载量做一次分析及展示,使用的是SQLStream 做的实时数据统计。有空可以了解一下。

 

http://www.sqlstream.com/

 

<think>我们正在回答用户关于在Ubuntu安装Firefox及其扩展的问题。根据提供的引用,我们可以总结出以下几点:1.引用[4]提到了一种在Ubuntu22.04或22.10上安装Firefox deb的方法,即通过添加Mozilla TeamPPA,然后安装并固定包以避免被Snap版本覆盖。2.引用[3]提到安装Firefox2会覆盖现有安装,但书签和历史记录不会丢失,而扩展可能不工作直到更新。3.引用[1]提供了创建符号链接的方法,但这是在安装特定版本(如Firefox17)时使用的。用户的问题是关于安装Firefox及其扩展,因此我们需要提供:1.安装Firefox的步骤(推荐使用PPA安装deb版本,避免Snap)。2.安装扩展的方法(通常通过浏览器内部安装)。注意:用户没有指定Firefox版本,因此我们提供最新稳定版的安装方法。步骤:一、安装Firefox(deb版本)二、安装扩展另外,根据引用[3],安装新版本可能会覆盖旧版本,但数据不会丢失,扩展可能需要更新。因此,在安装新版本后,可能需要检查扩展的兼容性。由于引用中提到了使用PPA安装deb的方法,我们优先采用这种方法。具体步骤:1.添加Mozilla PPA2.安装Firefox3.固定Firefox包以防止被Snap覆盖4.启动Firefox安装扩展关于扩展的安装:通常有两种方式,一种是通过Firefox的扩展商店(Add-ons Manager)在线安装,另一种是手动安装(从第三方下载的xpi文件)。我们按照这个结构来回答。</think>### 在Ubuntu安装Firefox浏览器及其扩展的方法 #### 一、安装Firefox浏览器(推荐deb版本) 1. **添加Mozilla官方PPA仓库** 打开终端执行: ```bash sudo add-apt-repository ppa:mozillateam/ppa sudo apt update ``` 2. **安装Firefox deb包** ```bash sudo apt install firefox -y ``` 3. **防止被Snap覆盖** 为防止系统自动替换为Snap版本,创建配置文件: ```bash echo "Package: firefox* Pin: release o=LP-PPA-mozillateam Pin-Priority: 501" | sudo tee /etc/apt/preferences.d/mozilla-firefox ``` #### 二、安装浏览器扩展 1. **官方扩展商店安装** - 打开Firefox → 菜单 → 扩展和主题 - 搜索所需扩展(如uBlock Origin、Dark Reader等) - 点击"添加"即可自动安装[^3] 2. **手动安装扩展(xpi文件)** - 下载扩展的`.xpi`文件 - 打开`about:addons`页面 → 点击齿轮图标 → "从文件安装附加组件" - 选择下载的xpi文件 > ⚠️ 注意: > - 安装新版本会保留书签和历史记录,但部分扩展可能需要更新兼容性[^3] > - 使用PPA安装可避免Snap版本的限制(如主题兼容性问题)[^4] #### 三、验证安装 ```bash firefox --version # 应显示类似 Mozilla Firefox 115.0 ```
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值