Completely remove Firefox from Ubuntu Linux or Xubuntu

Exercise due caution with your data before doing these steps. Take a data backup first. In order to completely remove Firefox from Ubuntu Linux, open a terminal window and enter the following:

Delete the application

$ sudo apt-get purge firefox* <enter>

Remove the folders

$ sudo rm -Rf /etc/firefox <enter>
$ sudo rm -Rf /usr/lib/firefox* <enter>
$ cd /opt <enter>
$ sudo rm -rf firefox* <enter>
$ cd /usr/local/bin <enter>
$ sudo rm -rf firefox* <enter>
$ cd ~ <enter>
$ rm -rf .mozilla <enter>
$ rm -rf .cache/mozilla/firefox <enter>
$ sudo rm -rf /usr/lib/firefox/ <enter>
$ sudo rm -rf /usr/lib/firefox-addons <enter>

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s