Using the native apt version of Firefox on Ubuntu 22.04
If you don't want to use the snap version of firefox on Ubuntu 22.04, you can pin the mozilla-team PPA version which is stable so you can have native performance.
Remove the snap version of Firefox:
The following will install firefox stable from the PPA and keep thunderbird as the official Ubuntu repo version:
sudo add-apt-repository ppa:mozillateam/ppa
Then:
sudo nano /etc/apt/preferences.d/99mozillateam
Paste the following:
Package: firefox*Pin: release o=Ubuntu,a=jammy,n=jammy,l=Ubuntu,c=main
Pin-Priority: -1
Package: firefox*
Pin: release o=LP-PPA-mozillateam
Pin-Priority: 400
Package: thunderbird*
Pin: release o=LP-PPA-mozillateam
Pin-Priority: -1
Package: thunderbird*
Pin: release o=Ubuntu,a=jammy,n=jammy,l=Ubuntu,c=main
You can verify it's working by running the following command, it should list the candidate as the PPA version to be installed:
apt policy firefoxfirefox:
Installed: 99.0.1+build1-0ubuntu0.22.04.1~mt1
Candidate: 99.0.1+build1-0ubuntu0.22.04.1~mt1
Version table:
1:1snap1-0ubuntu2 -1
500 http://mirror.arizona.edu/ubuntu jammy/main amd64 Packages
*** 99.0.1+build1-0ubuntu0.22.04.1~mt1 400
500 https://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu jammy/main amd64 Packages
100 /var/lib/dpkg/status
Install the PPA version of Firefox or Firefox ESR if desired:
If you want to revert, just install the ppa-purge package and execute it. This will automatically downgrade all packages and disable the PPA. See below.
Comments
Post a Comment