Thursday, June 2, 2022
HomeOperating SystemFirefox on Ubuntu 22.04 from .deb (not from snap)

Firefox on Ubuntu 22.04 from .deb (not from snap)


It’s now broadly recognized that Ubuntu 22.04 LTS (Jammy Jellyfish) ships Firefox as a snap, however some folks (like me) could favor putting in it from .deb packages to retain management over upgrades or to maintain extensions working.

Fortunately there may be nonetheless a PPA serving firefox (and thunderbird) debs at https://launchpad.web/~mozillateam/+archive/ubuntu/ppa maintained by the Mozilla Staff. (Thanks!)

You may block the Ubuntu archive’s model that simply pulls within the snap by pinning it:

$ cat /and so forth/apt/preferences.d/firefox-no-snap 
Bundle: firefox*
Pin: launch o=Ubuntu*
Pin-Precedence: -1

Now you may take away the transitional bundle and the Firefox snap itself:

sudo apt purge firefox
sudo snap take away firefox
sudo add-apt-repository ppa:mozillateam/ppa
sudo apt replace
sudo apt set up firefox

For the reason that bundle comes from a PPA unattended-upgrades won’t improve it routinely, until you allow this origin:

echo 'Unattended-Improve::Allowed-Origins:: "LP-PPA-mozillateam:${distro_codename}";' | sudo tee /and so forth/apt/apt.conf.d/51unattended-upgrades-firefox

Completely happy searching!

Replace: I’ve discovered a couple of different, related guides at https://fostips.com/ubuntu-21-10-two-firefox-remove-snap and https://ubuntuhandbook.org/index.php/2022/04/install-firefox-deb-ubuntu-22-04 and I’ve up to date the pinning configuration primarily based on them.



RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments