Hello, Ubuntu users.
Today I will present how to make a complete uninstall by Terminal (formerly command line) for the applications you want removed.
Here we go :
1. Open Terminal and gain admin rights by the command below. Then, type your login password.
sudo su
2. List your installed apps/packages. It will display a long list.
dpkg --list
3. Uninstall the app and keep its configuration files (if you want to make a reinstall later).
I replaced the package name with your_app. Replace it with the name you want from your list (see the Name column).
sudo apt-get remove your_app
For example firefox :
sudo apt-get remove firefox
4. Completely uninstall the app.
sudo apt-get --purge remove your_app
Example :
sudo apt-get --purge remove firefox
EXTRA TIP
5. Remove unnecessary dependencies, or remnants left behind by obsolete apps.
sudo apt-get autoremove
The steps in this tutorial is not specific only for old versions of Ubuntu, it works on the newer versions of Ubuntu as well.
Commands used in this presentation :
- sudo to gain admin rights, or superuser tasks
- dpkg list to list the installed apps
- remove along with apt-get to uninstall apps, and keep configuration files
- remove along with purge to completely uninstall the app
- autoremove to remove unnecessary dependencies, or left-overs remained from old apps
Enjoy it !