什么是 Firefox ESR？如何在 Ubuntu 中安装它？
Firefox
![](/data/attachment/album/202301/07/165704ojar9wfkvptwop0w.jpg)


Ubuntu 的 Snap 版本你不喜欢？不喜欢每一次 Firefox 的发布都要不断地改变东西？如果你重视稳定性而不是功能，你可以试试 Firefox ESR 版本。


### 什么是 Firefox ESR？


Firefox ESR 是 Firefox 的特别版，它不一定像普通版那样每月都有新功能，但它能提供稳定和安全的浏览体验。这适用于企业、组织和机构，在这些地方，稳定性和核心功能比闪亮的新功能更重要。


可以把 Firefox ESR 看作是 Linux 发行版的长期稳定版本。它们不一定得到全新的功能，但它们会得到定期的安全和维护更新。这给了用户一个熟悉和稳定的环境。


#### 你为什么要关心 Firefox ESR？


Firefox 几乎每个月都会发布一个新版本。它包含安全和功能更新。


但有些人可能不喜欢各种功能的加入和删除。如果在更新之后，你一直想知道某些设置到哪里去了，或者不喜欢与以前不同的东西，Firefox ESR 可能值得一试。


基本上，如果你更看重稳定性而不是新功能，那么 Firefox ESR 就适合你。这也是 Debian 中携带的 Firefox 版本，Debian 以其是市场上最稳定的发行版之一而闻名。


让我告诉你如何在 Ubuntu 上获得 Firefox ESR。**你可以同时安装 Firefox 和 Firefox-ESR 两个版本。它们的标识没有视觉上的区别，所以你必须注意你打开的是哪个火狐版本。**


### 在 Ubuntu 中安装 Firefox ESR


在进入安装之前，让我来分享一下普通 Firefox 和 Firefox-ESR 之间的版本差异是什么。在写这篇文章的时候：


* Firefox 的版本是 **107.0-2**。
* Firefox-ESR 目前的版本是 **102.5.0esr**。


所以，如果这对你来说没问题，让我们看看第一个方法。


#### 方法 1：使用 PPA 安装 Firefox-ESR


Firefox-ESR 在 Ubuntu 的默认仓库中是不可用的，所以你可以使用 PPA。


PPA 只不过是一个由个别技术人员或开发者维护的仓库，拥有默认仓库所没有的东西。


如果你想了解更多关于 PPA 的信息，我建议你查看我们的其他指南，其中解释了 [如何在 Linux 上使用 PPA](https://itsfoss.com/ppa-guide/)。


打开你的终端，使用给定的命令来添加 Firefox-ESR 的 PPA：



```
sudo add-apt-repository ppa:mozillateam/ppa

```

然后按回车键确认你要添加 PPA：


![add firefox esr repository in ubuntu](/data/attachment/album/202301/07/170025vuo7bau4zh1ffc5b.png)


完成后，你需要更新 Ubuntu 中的仓库索引，以便从这些变化中生效：



```
sudo apt update

```

现在，你可以通过使用给定的命令来安装 Firefox-ESR：



```
sudo apt install firefox-esr

```

接下来，你可以使用给定的命令来检查你系统中 Firefox-ESR 的安装版本：



```
firefox-esr -v

```

![check installed version of firefox esr in ubuntu](/data/attachment/album/202301/07/170026tzfqs0vvif8tzj23.png)


如何从 Ubuntu 卸载 Firefox-ESR？


如果 ESR 对你的工作来说感觉太过时了，或者由于其他原因你想从你的系统中删除它，你可以按照以下步骤删除 Firefox-ESR 包和仓库。


首先，让我们用下面的方法删除 Firefox-ESR 包：



```
sudo apt remove firefox-esr

```

现在，你可以使用给定的命令来 [从 Ubuntu 删除 PPA](https://itsfoss.com/how-to-remove-or-delete-ppas-quick-tip/)：



```
sudo add-apt-repository --remove ppa:mozillateam/ppa

```

这就完成了！


#### 方法 2：使用 Snap 安装 Firefox-ESR


不管你爱不爱它，Snap 在 Ubuntu 上是预先配置好的，我发现使用 Snap 是安装软件包的一个很好的方法，特别是当你想避免从源码构建它们或使用 PPA 时。


使用 Snap 安装 Firefox-ESR，你需要做的就是使用给定的命令：



```
sudo snap install firefox --channel=esr/stable

```

![install firefox esr using snaps in ubuntu](/data/attachment/album/202301/07/170026y3u512n2xvn6even.png)


如何删除 Firefox-ESR Snap？


要删除 Firefox-ESR（snap 包），请使用 [snap remove 命令](https://itsfoss.com/remove-snap/)：



```
sudo snap remove firefox

```

这就完成了！


### 总结


我在本指南中解释了如何使用多种方法在 Ubuntu 中安装 Firefox-ESR。我个人使用 Firefox-ESR 而不是普通版本，因为我有随机崩溃的情况。


自从我改用 Firefox-ESR 后，一切都变得稳如磐石。如果你也有同样的问题，你应该试一试。




---


via: <https://itsfoss.com/firefox-esr-ubuntu/>


作者：[Sagar Sharma](https://itsfoss.com/author/sagar/) 选题：[lkxed](https://github.com/lkxed) 译者：[geekpi](https://github.com/geekpi) 校对：[wxy](https://github.com/wxy)


本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译，[Linux中国](https://linux.cn/) 荣誉推出


OK
![Warp Terminal](/assets/images/warp-terminal.webp)


![Warp Terminal](/assets/images/warp-terminal.webp)

The snap version of Ubuntu is not to your liking? Don’t like constantly changing things with every Firefox release? You can try the Firefox ESR version if you value stability over features.

## What is Firefox ESR?

Firefox ESR is a special edition of Firefox browser that doesn’t necessarily get new features monthly as the regular edition but it provides a stable and secure browsing experience. This is suitable for enterprises, organizations and institutes where stability and core features matter more than shiny new features.

Think of Firefox ESR as the long-term stable release of Linux distributions. They do not necessarily get brand-new features but they get regular security and maintenance updates. This gives the users a familiar and stable environment.

### Why should you care for Firefox ESR?

Firefox releases a new version almost every month. It contains security and feature updates.

But some people may not like the inclusion and removal of features. If, after an update, you keep wondering where did certain settings go or do not like things that are different than before, Firefox ESR could be worth a try.

Basically, if you value stability more than new features, Firefox ESR is for you. This is the same version of Firefox that ships with Debian, which is known for being one of the most stable distros you can get in the market.

Let me show you how to get Firefox ESR on Ubuntu.

## Installing Firefox ESR in Ubuntu

Before I jump to the installation part, let me share what’s the version difference between regular Firefox and Firefox-ESR. While writing,

- Firefox is running at version
.`107.0-2`

- Firefox-ESR is currently at version
.`102.5.0esr`


So if that’s fine for you, let’s look at the first method.

### Method 1: Install Firefox-ESR using PPA

Firefox-ESR is not available in the default repository of Ubuntu, so you can use the PPA.

PPA is nothing but a repository being maintained by individual techies or developers to have what the default repository does not.

And if you want to learn more about PPA, I would recommend checking our other guide that explains how you can use it on Linux.

[What is PPA? Everything You Need to Know About PPA in LinuxAn in-depth article that covers almost all the questions around using PPA in Ubuntu and other Linux distributions.](https://itsfoss.com/ppa-guide/)![](https://itsfoss.com/content/images/wordpress/2018/12/what-is-ppa.png)


![](https://itsfoss.com/content/images/wordpress/2018/12/what-is-ppa.png)

Open your terminal and use the given command to add PPA for Firefox-ESR:

`sudo add-apt-repository ppa:mozillateam/ppa`


And press Enter to confirm you want to add PPA:

![Add the Firefox ESR repository in Ubuntu](https://itsfoss.com/content/images/wordpress/2022/11/add-firefox-esr-repository-in-ubuntu.png)

Once done, you will have to update the repository index in Ubuntu to take effect from the changes:

`sudo apt update`


And now, you can install Firefox-ESR by using the given command:

`sudo apt install firefox-esr`


Next, you can use the given command to check the installed version of Firefox-ESR in your system:

`firefox-esr -v`


![Check installed version of Firefox ESR in Ubuntu](https://itsfoss.com/content/images/wordpress/2022/11/check-installed-version-of-firefox-esr-in-ubuntu.png)

#### Uninstalling Firefox-ESR from Ubuntu

If the ESR felt too outdated for your work or for any other reason you want to remove it from your system, you can follow the steps to remove the Firefox-ESR package and the repository.

First, let’s remove the Firefox-ESR package using the following:

`sudo apt remove firefox-esr`


Now, you can use the given command to [remove PPA from Ubuntu](https://itsfoss.com/how-to-remove-or-delete-ppas-quick-tip/):

`sudo add-apt-repository --remove ppa:mozillateam/ppa`


And that’s it!

### Method 2: Install Firefox-ESR using Snap

Love it or hate it, Snaps comes pre-configured on Ubuntu and I find using snaps a neat way of installing packages, especially when you want to avoid building them for source or using PPA.

All you need to do to install Firefox-ESR using snaps is to follow the given command:

`sudo snap install firefox --channel=esr/stable`


![Install firefox esr as snaps in ubuntu](https://itsfoss.com/content/images/wordpress/2022/11/install-firefox-esr-using-snaps-in-ubuntu.png)

#### Removing Firefox-ESR Snap

To remove Firefox-ESR (snap package), use the [snap remove command](https://itsfoss.com/remove-snap/):

`sudo snap remove firefox`


And that’s it!

## Become an expert Firefox user

Firefox is awesome. It has several features that many users are not aware of. Explore them.

[6 Awesome Firefox Features You Should Be Using Right NowLove Firefox? You’ll love it even more if you start using these awesome features in Firefox and make your browsing experience even more awesome.](https://itsfoss.com/firefox-useful-features/)![](https://itsfoss.com/content/images/wordpress/2020/10/firefox-tips-features.png)


![](https://itsfoss.com/content/images/wordpress/2020/10/firefox-tips-features.png)

Keyboard shortcuts make you more efficient with any tool. Firefox is no different.

[15 Useful Firefox Keyboard Shortcuts [With Cheatsheet]Love Mozilla Firefox browser? Use it more efficiently by using these keyboard shortcuts.](https://itsfoss.com/firefox-keyboard-shortcuts/)![](https://itsfoss.com/content/images/wordpress/2019/12/Firefox_Keyboard_Shortcuts.jpg)


![](https://itsfoss.com/content/images/wordpress/2019/12/Firefox_Keyboard_Shortcuts.jpg)

Don't settle with the default Firefox. These [Firefox add-ons](https://itsfoss.com/firefox-add-ons/) will greatly improve the experience.

[11 Interesting Firefox Add-ons to Improve Your Browsing ExperienceI think we can all agree that Firefox is one of the best browsers for Linux. And, as a cherry on top, you can enhance your browsing experience with some extensions! Maybe even isolate Facebook? 😉 Before I suggest some awesome Firefox add-ons, let me give you some pointers. Things to](https://itsfoss.com/firefox-add-ons/)![](https://itsfoss.com/content/images/wordpress/2022/09/firefox-extensions-to-improve-browsing-experience.png)


![](https://itsfoss.com/content/images/wordpress/2022/09/firefox-extensions-to-improve-browsing-experience.png)

I hope you like the native apt packaging and the stable Firefox experience in Ubuntu.

Questions or suggestions? The comment section is all yours.