Sunday, May 17, 2020

Uninstall firefox or firefox-mozilla-build, multiple firefox versions from Ubuntu

I had this issue where I installed multiple versions of Firefox and eventually due to some mistakes It all got messed up.
In order to make it up and running, I did the following.

Find any package installed on the system with the name firefox.

dpkg --list | grep firefox

I got 3 different names because I had 3 different versions:

  1. firefox
  2. firefox-mozilla-build
  3. firefox-locale-en


Then I uninstalled each one of them manually in this way. It'll remove firefox completely from the ubuntu machine.

sudo apt-get --purge autoremove firefox
sudo apt-get --purge autoremove firefox-mozilla-build
sudo apt-get --purge autoremove firefox-locale-en

It solved my issue with multiple versions of firefox.
Share: