Use Mozilla's PPA on Ubuntu

Nobody likes snap, and Mozilla maintains the latest stable Firefox in a PPA:


Start by removing the snap version that Ubuntu installs:

sudo snap remove firefox
sudo systemctl stop var-snap-firefox-common-host\\x2dhunspell.mount
sudo systemctl disable var-snap-firefox-common-host\\x2dhunspell.mount
sudo apt-get purge firefox

Then add the PPA: and install the mozilla firefox package:

sudo add-apt-repository ppa:mozillateam/ppa

Ubuntu will still prefer its package that installs firefox with snap, so create /etc/apt/preferences.d/mozilla-firefox:

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

Package: firefox*
Pin: release o=Ubuntu
Pin-Priority: -1

And then apt should prefer the package from Mozilla after you update the cache:

amine ~ $ sudo apt update

amine ~ $ apt-cache policy firefox
  Installed: (none)
  Candidate: 116.0.3+build2-0ubuntu0.23.04.1~mt1
  Version table:
     1:1snap1-0ubuntu3 -1
        500 lunar/main amd64 Packages
     116.0.3+build2-0ubuntu0.23.04.1~mt1 501
        500 lunar/main amd64 Packages

Now just install the firefox package:

sudo apt install firefox

Sources (with more info):

Process manager

Firefox has a process manager now, open:



Firefox add-ons that i find useful:

  • Dark reader
  • uBlock origin
  • Certificate pinner
  • Auto tab discard
  • Privacy redirect