Categories: Ubuntu

Uninstall Firefox in Ubuntu 22.04

Mozilla Firefox (or “Firefox”) is one of the most popular web browsers. It’s a free and open-source software which is developed by the Mozilla Foundation (and its subsidiary, the Mozilla Corporation). Because of the licensing flexibility and open-source nature, most Linux distros (including Ubuntu) come with Firefox as the default browser.

In this guide, we will learn how to uninstall Firefox in Ubuntu 22.04.

Prerequisites:

To perform the steps that are demonstrated in this guide, you need the following components:

Step 1: Checking the Existing Firefox Installation

Starting from Ubuntu 21.10, Firefox comes installed as a snap package instead of the traditional DEB package. The move is done according to an agreement between Mozilla and Canonical, the parent company of Ubuntu.

We can verify this by checking the list of installed DEB and snap packages:

$ apt list –installed | grep firefox

$ snap list | grep firefox

As you can see, Firefox is installed as a snap package.

Even the official DEB package for Firefox is a transitional package for Firefox snap.

$ apt info firefox

Step 2: Uninstalling Firefox

According to Snapcraft, snaps are universal Linux packages that are easy to install, secure, and are dependency-free. The dependencies are already included within the package so that it can function seamlessly on any Linux distro.

To remove the Firefox snap, we first need to learn the package name:

$ snap list | grep firefox

To remove the Firefox snap, run the following command:

Sponsored
$ sudo snap remove firefox

To verify, check the list of installed snaps once again:

$ snap list | grep firefox

Bonus: Install the Firefox ESR

Firefox comes in two types of releases:

  • Rapid Release: Major updates are released every 4 weeks. In the meantime, it also receives necessary minor updates (crash fixes, security fixes, and others) as needed.
  • ESR (Extended Support Release): Major updates are released every 42 weeks while it receives necessary minor updates in the meantime.

In short, the Rapid release is the classic Firefox release cycle whereas ESR focuses more on stability and consistency. Personally, Firefox ESR is recommended because of its stability rather than getting features every month or so.

The Firefox snap package supports both Rapid and ESR releases through different channels.

$ snap info firefox

Already have Firefox installed? Use the following command to switch to the ESR channel:

$ sudo snap refresh firefox –channel=esr/stable

If Firefox is already uninstalled, you can install the Firefox ESR snap using the following command:

$ sudo snap install firefox –channel=esr/stable

Conclusion

We demonstrated the ways of uninstalling Firefox from Ubuntu 22.04. We also showcased how to install or switch to the Firefox ESR release. The Firefox category contains various guides to master the browser.

Interested in learning more about snaps? Check out the official Snapcraft documentation. For general users, learn more about managing the snap packages on Ubuntu.

Ubuntu Server Admin

Recent Posts

Canonical Releases Ubuntu 25.04 Plucky Puffin

The latest interim release of Ubuntu introduces “devpacks” for popular frameworks like Spring, along with…

2 days ago

Ubuntu 25.04 (Plucky Puffin) Released

Ubuntu 25.04, codenamed “Plucky Puffin”, is here. This release continues Ubuntu’s proud tradition of integrating…

2 days ago

Extended Security Maintenance for Ubuntu 20.04 (Focal Fossa) begins May 29, 2025

Ubuntu released its 20.04 (Focal Fossa) release 5 years ago, on March 23, 2020. As…

3 days ago

Ubuntu 20.04 LTS End Of Life – activate ESM to keep your fleet of devices secure and operational

Focal Fossa will reach the End of Standard Support in May 2025, also known as…

4 days ago

Ubuntu MATE 25.04 Release Notes

Ubuntu MATE 25.04 is ready to soar! 🪽 Celebrating our 10th anniversary as an official…

4 days ago

Ubuntu Weekly Newsletter Issue 887

Welcome to the Ubuntu Weekly Newsletter, Issue 887 for the week of April 6 –…

5 days ago