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?

  • 1
    No big deal, everyone has a favorite browser. Why not uninstall Firefox from the Software Center instead? Also, you should read this Q&A about Chromium so at least you know how updated it is. – Tom Brossman Sep 2 '12 at 17:25

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.

See this apt-get manual page for more info.

Hope this helps.

  • Thank you. Helped a lot. Tried this first which removed a lot of packages. – Avie Rose Sep 2 '12 at 18:03
  • @AvieRose glad to help. Does that solve the problem. if yes, can you consider it to accept :) thanks – Anwar Sep 2 '12 at 18:16
  • The command you say to use and the command you used in your example are not identical. Which is correct? – Dennis Jun 22 '13 at 11:59

In a terminal you can list firefox related packages.

dpkg --list | grep firefox

Uninstall the unwanted packages.

  • 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. – Avie Rose Sep 2 '12 at 18:05

Try This one should work

sudo apt-get --purge autoremove firefox-locale-en unity-scope-firefoxbookmarks xul-ext-webaccounts

sudo apt-get --purge autoremove firefox

sudo rm -rf ~/.mozilla

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.