I'm running Ubuntu 12.04 and I'd like to know are there possibilities to clean folder leftovers of the apps that I don't use anymore and not planning to again.
For example in /home when I press Ctrl+H folders appear and some of them belong to apps that I don't use anymore and I have to manually to search for them and delete each by one.
So I wonder are there any commands I can use in Terminal to clean those leftovers, if they are?
Try:
sudo apt-get update && sudo apt-get autoremove && sudo apt-get autoclean
If that doesn't work try:
sudo apt-get update && sudo apt-get autoremove && sudo apt-get clean
When uninstalling Remove vs Purge.
sudo apt-get remove <package-name>
the configuration files are not removed.
sudo apt-get purge <package-name>
Might be more suitable for what it is that you are looking to do. As this will also purge the configuration files.
EDIT: This does not remove hidden folders. Those will need to be removed manually as suggested by @Takkat and @Oli here:
( How can I detect and delete all lost configuration folders?)
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments