Package Management Uninstall – Completely Remove Application


If I remove any application with sudo apt-get remove <applicationName>, the application is removed and then I can remove the repository later on.

I have noticed that certain cached and config files remain in the system. Some take up a large amount of space, e.g. GOOGLE-CHROME. It is hard to find and delete the remaining manually, as I am often not certain whether to delete them or not.

Is there any way to delete an application including the config and cache files along with the application?

Best Answer

Using sudo apt-get purge <package-name> will remove <package-name> and all of it's config file that are not located in "Home" (~).

You will have to remove config files in your home directory manually. Since these files are hidden you will have to press Ctrl + H to view them in Nautilus.

A good reference to look at: What is the correct way to completely remove an application?

Related Question