Ubuntu – How to completely uninstall and reinstall Firefox


How can I completely uninstall Firefox, then re-install? My brothers Firefox icon is just blank for some reason on the Unity sidebar. It launches but the icon is completely blank nothing there. If I uninstall this for him and then re-install will it work? Please help. I want to get this fixed for him.

Best Answer

First try moving his profile data out of the way, it may be corrupted. One easy way to do it is to rename the .mozilla directory, on a terminal:

mv ~/.mozilla ~/mozilla-backup

When you restart Firefox it will rebuild a new profile.

If you want to completely wipe out and reinstall firefox, on the terminal do this:

sudo apt-get purge firefox firefox-globalmenu firefox-gnome-support

This will remove all traces of the Firefox system files. Then, to reinstall:

sudo apt-get install firefox firefox-globalmenu firefox-gnome-support
Related Question