15

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?

Seth
  • 59,332
Arin Chakraborty
  • 713
  • 2
  • 9
  • 22

3 Answers3

19

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?

Seth
  • 59,332
3

If you mean to remove all configuration files and all after uninstalling your software then you can use Ubuntu tweak. It is a very useful tool to do lots of things in Ubuntu, especially cleaning all unnecessary things.

The software is not in the official repo. of Ubuntu, but you can install it very easily using ppa. To install the software use the following commands

sudo add-apt-repository ppa:tualatrix/ppa  
sudo apt-get update  
sudo apt-get install ubuntu-tweak

Hope this information will be helpful to you.

Apurba
  • 1,438
1

To uninstall using GUI

just open Ubuntu Software Center. Once you open it go to installed find your software by searching in the top right corner then click remove

It will uninstall everything