How to Cleanup cache,useless packages in Ubuntu

This post was written by admin on August 29, 2009
Posted Under: General

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.

sudo synaptic

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.

cleanup

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

Related posts:

  1. Clean up cache,useless file/kernel to free disk space by Ubuntu-Tweak
  2. Clean useless files to free disk space and guard your privacy with BleachBit
  3. How to Delete Useless Ubuntu Gnome Desktop Themes
  4. Save Ubuntu space-auto-delete downloaded packages after installation
  5. How to keep your ubuntu system clean

    Tags:

    Add a Comment

    required, use real name
    required, will not be published
    optional, your blog address