How to Remove Firefox Snap from Ubuntu (21.10 +)

3 min

Ubuntu 21.10 Impish Indri and the following versions make Firefox Snap a default browser. If you don’t like Snap, this is how you can remove it and use the stock version.

There is always a debate whether Snap is a better alternative to apt. And many users prefer it for their system, and some hates snap to its core. Ubuntu and Canonical consider it as one of the best installation repositories and package management tools for Linux. The primary reason Snap is hated is its slow startup time. However, that argument is for another article.

Remove Firefox Snap version from Ubuntu

So, if you haven’t heard the story, Ubuntu 21.10 (and all subsequent versions) ships Firefox as a Snap package by default. So, when you install Ubuntu 21.10 onwards, the default left-dock shortcut is a snap version of Firefox. And you can verify it using various methods below.

snap list - Firefox
snap list – Firefox
Firefox snap desktop shortcut
Firefox snap desktop shortcut

If you don’t like Snap due to its performance, and storage issues, you can remove it via the following commands.

  • Close all the Firefox instances if open.
  • Open a terminal. Then run the below command.
sudo snap remove firefox
  • Wait for the command to complete. This will remove the snap executables from your system and disconnect Firefox from various system services. But the home snap directory will still be there. You can manually remove that using the below command.
cd ~/snap
rm -r firefox

Install Firefox Alternative Methods

Now, as you removed Firefox, you have the following options to use this browser.

Method 1 – Use PPA (Recommended)

  • Before using this method, make sure to remove the snap version of Firefox as mentioned above.
  • There is an official PPA for Firefox, maintained by its development team. You can add this PPA to your software sources and use it to install the latest Firefox.
  • Make sure to create a file using a text editor to create a preference file to stop Ubuntu from pickup the snap version of Firefox while running the apt update command.
sudo gedit /etc/apt/preferences.d/firefox-no-snap
  • Add the following lines to the above file and save it.
Package: firefox*
Pin: release o=Ubuntu*
Pin-Priority: -1
  • Use the following commands in sequence. The first command removes it from your system completely.
sudo apt purge firefox
sudo add-apt-repository ppa:mozillateam/firefox
sudo apt-get update
sudo apt install firefox
  • After installation is finished, make sure to enable the auto-upgrade using the command below.
echo 'Unattended-Upgrade::Allowed-Origins:: "LP-PPA-mozillateam:${distro_codename}";' | sudo tee /etc/apt/apt.conf.d/51unattended-upgrades-firefox
  • Restart your system (optional) and enjoy the deb version of Firefox.

Method 2 – Use the compressed executable of Firefox

  • You can download the compressed Firefox executable for Ubuntu and other Linux from the official website (link below). Then extract it, and double click to run the firefox executable. This is the safest approach. You can still get the updates if you use this method.
Download Firefox and Extract
Download Firefox and Extract
And then run the executable
And then run the executable

Method 3 – Use Flatpak for Firefox

flatpak install flathub org.mozilla.firefox

Method 4 – Use Snap with less system coupling with Firefox

  • If you think, you can still continue with the Snap version but want less sandboxing in your system, then you may want to reinstall Firefox using the below command with a classic switch.
sudo snap install firefox --classic

Closing Notes

So, this is the step to remove the firefox snap version from Ubuntu 21.10 onwards. And some alternatives. I am really curious to find out what step Linux Mint takes, as they don’t go well with Snap. Also, those distros depend on Ubuntu upstream repo for Firefox, It’s interesting to see what they are going to do. Debian maintains its own repo, but it’s mostly the ESR version.

We bring the latest tech, software news and stuff that matters. Stay in touch via Telegram, Twitter, YouTube, and Facebook and never miss an update!

Join our Telegram channel and stay informed on the move.

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.


Creator of All time Linux user and open-source supporter. Connect with me via Telegram, Twitter, LinkedIn, or send us an email.
Notify of

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Oldest Most Voted
Inline Feedbacks
View all comments
Would love your thoughts, please comment.x