How to completely remove firefox so it won't update?

23,585

Solution 1

Remove the firefox and all the associated language packs with this command

sudo apt-get --purge autoremove firefox

It should remove firefox and all language packs for it. The output in my computer is shown below:

anwar@edubuntu-lenovo:~$ sudo apt-get autoremove firefox
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  firefox firefox-globalmenu firefox-gnome-support 

Your output may vary depending on the packages you installed. The important thing is you should see the uninstallation of these packages

firefox firefox-globalmenu firefox-gnome-support

Using autoremove uninstall packages which was required by firefox but is not required now after removing it. Without autoremove those packages will be left on system.

autoremove: removes any packages on your system that are no longer needed. As an example if I install package A, it might install packages B and C as dependencies. Simply un-installing package A doesn't automatically un-install packages B and C as well, they are left installed. apt-get autoremove searches your system for packages that have been installed as dependencies but are no longer used and removes them.

See this apt-get manual page for more info.

Hope this helps.

Solution 2

In a terminal you can list firefox related packages.

dpkg --list | grep firefox

Uninstall the unwanted packages.

Share:
23,585

Related videos on Youtube

Avie Rose
Author by

Avie Rose

Updated on September 18, 2022

Comments

  • Avie Rose
    Avie Rose almost 2 years

    I really don't like firefox, so the first thing I did after installation was install chromium as a browser and removed firefox via terminal using:

    sudo apt-get remove --purge firefox
    

    But every time update manager opens it lists language packs for firefox. I can uncheck the package, but it gets rather annoying.

    Is there some lingering file somewhere that I need to purge as well?

  • Avie Rose
    Avie Rose almost 12 years
    Thank you. Helped a lot. Tried this first which removed a lot of packages.
  • Avie Rose
    Avie Rose almost 12 years
    Thank you. Ran this command after following the answer below, which removed a lot of packages but, then ran this and found that one language pack had been left. Then simply removed the specific package.
  • Nate Totten
    Nate Totten about 11 years
    The command you say to use and the command you used in your example are not identical. Which is correct?