How do I install Firefox on an Ubuntu 22.04 Linode?
I've installed Guacamole as per the installation here:
However, when I go to install firefox with
apt install firefox, I get an error and it fails, is there a workaround?
✓ Best Answer
It looks like Ubuntu 22.04 has some issues with the default firefox package in it's repositories. To add it directly from Mozilla's PPA, you can do the following:
Remove the Firefox Snap:
sudo snap remove firefox
Add Mozilla's PPA:
sudo add-apt-repository ppa:mozillateam/ppa
Set the Mozilla PPA as a preferred source:
echo ' \ Package: * \ Pin: release o=LP-PPA-mozillateam \ Pin-Priority: 1001' | sudo tee /etc/apt/preferences.d/mozilla-firefox
Update the package database:
apt update && apt upgrade
Install the ESR release of Firefox:
sudo apt install firefox-esr
And that should do the trick! I wish I could take the credit for this, but another community member found this and it could be useful to others running into the same problem.