Commenly,when remove a software from your system,the remains configuration files will not be cleanup.After you install something by “sudo apt-get install”,the useless packages still stored in /var/cache/apt/archives/.After long period of time operating on your ubuntu,these useless packages may use lots of space and affect on your system.
This tutorial tells how to cleanup these useless packages and files.
1.Go to System->Administration->Synaptic Package Manager,or type following in terminal.
Click on Status,then select Not installed(residual config).At right box you will see remains configuration files.
Select all of them,right click to mark to complete removal.
2.Run following command to clean cache come from “sudo apt-get install”.
sudo apt-get autoclean sudo apt-get clean
3.When you want to remove a package or program,run this command and the dependent packages will be removed.
sudo apt-get autoremove