Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

This question already has an answer here:

I just uninstalled my first program in Ubuntu (gtg - getting things gnome) and noticed that it didn't clean after itself. It left .config/gtg and .local/share/gtg

both full with configs and task info

Is that the norm in ubuntu? How to cleanly uninstall programs?

share|improve this question

marked as duplicate by AgentCool, LiveWireBT, Aditya, mikewhatever, Mitch Dec 23 '13 at 17:17

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

2 Answers 2

use purge

sudo apt-get purge <application name>

purge program to remove.

share|improve this answer
    
OP asked about configuration left in home directory, purge removes only system level configuration, which is by design. –  jnv Dec 23 '13 at 12:22
    
How does purge from the terminal differs from clicking remove in the app centre? –  user228080 Dec 23 '13 at 12:51
    
purge purges the customization too i.e if you installed a program made changes in settings and then remove it through app center later if you install that same software again you may find the setting you changed previously appear but if you purge it and then reinstall the program again i'll be fresh but as jnv said it removes config files only at sys level –  Meow Dec 23 '13 at 13:26

I use

sudo apt-get autoremove --purge APP

This one purges the app with its configuration files, along with extra packages that are no longer necessary. As for the files in the home folder, you will have to delete those manually. I don't think there is a way to automatically remove them.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.