0

I've reinstalled Ubuntu 24.04 LTS for using Full Disk Encryption with TPM.

I hate to use Firefox as a snap package so I decided to reinstall it according to this source and this one.

But when I try to remove firefox with sudo snap remove firefox, snap returns this error:

error: cannot remove "firefox": snap "firefox" is not removable: snap is required

1 Answers1

0

Try uninstalling the installed version and installing the latest stable version of Firefox from the developer packages.

To do this, open a terminal and:

To remove the installed version of Firefox, run the following commands in a terminal (execute them one by one):

sudo apt remove --purge firefox*
sudo snap disable firefox
sudo snap remove --purge firefox
sudo apt update
sudo apt install --reinstall wget
sudo apt autoremove
sudo apt clean

Then, to download the latest version of Firefox, run the following commands in the terminal:

cd ~/Downloads

wget https://ftp.mozilla.org/pub/firefox/releases/137.0.2/linux-x86_64/en-GB/firefox-137.0.2.tar.xz

Once the file has been downloaded, in the 'Downloads' folder.

Extract the file using the following command:

tar -Jxvf firefox-136.0.1.tar.xz

We should now have an extracted folder called firefox.

You need to move the folder to /opt with the following command:

sudo mv firefox /opt

Now, a link must be created to start Firefox .

Running the following command to create the link to Firefox

sudo ln -s /opt/firefox/firefox /usr/bin/firefox
kyodake
  • 17,808