✓ Solved

How do I install Firefox on an Ubuntu 22.04 Linode?

Linode Staff

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?

1 Reply

✓ 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.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct