How to Remove Firefox Snap and Install Firefox as Deb in Ubuntu Linux

In Ubuntu 22.04 and later Firefox is a Snap package, Ubuntu removed the .deb package for Firefox from it’s repository. If you try to install the deb package via apt, Then it only install the Snap version. In this tutorial we will see how to remove snap Firefox and install deb Firefox back.

How to Uninstall Firefox Snap:

Open the terminal command line application using ctrl+alt+t keys and run below command.

sudo snap remove firefox

And run below command also.

sudo apt remove firefox

These commands will remove Firefox snap and deb package files from your system.

How to Install Firefox Deb on Ubuntu 22.04 & Later

In the terminal app run below command to add Firefox Mozilla PPA

sudo add-apt-repository ppa:mozillateam/ppa

Now you need to set a higher PPA priority. In terminal app run this command to create and open empty config file in Gedit text editor.

sudo gedit /etc/apt/preferences.d/mozillateamppa

Now add below lines and save it.

Package: firefox*
Pin: release o=LP-PPA-mozillateam
Pin-Priority: 501

firefox priority

After saving close it. Now run this command.

sudo apt update

And install the latest version of Firefox web browser as deb in Ubuntu using this command.

sudo apt install firefox

That’s it.

Also Read:  QMPlay2 Qt Media Player

Restore new Firefox Snap:

If you want to go back to the latest Firefox Snap package, then open the Software & Updates tool and under Other Software tab remove the Firefox Mozilla Team PPA.

firefox PPA

Now in terminal run below commands. It will install the latest of Firefox Web Browser.

sudo apt update
sudo apt install firefox

Confirm the Firefox snap update notification.

firefox snap config

That’s it

 

If you liked this article, please subscribe to our YouTube Channel. You can also stay connected with us on X (Twitter) and Facebook.



Leave a Reply