Gentoo Blog

The ultimate Gentoo Blog
  • Home
  • About

Clean up your Ubuntu or debian install with deborphan

Simon | August 11, 2009

If you want to clean up your Ubuntu or Debian machine and delete unnecessary (orphaned) deb packages you can use the utility deborphan. It finds packages that have no packages depending on them. First install deborphan:

aptitude install deborphan

Then start of with a dry run just to make sure that you are not removing any packages you still need

deborphan --guess-all

To delete unnecessary data packages use the command:

sudo deborphan --guess-data | xargs sudo aptitude -y purge

To delete all unnecessary packages use the command:

sudo deborphan --guess-all | xargs sudo aptitude -y purge

To get rid of downloaded deb packages use:

aptitude autoclean

Share on Facebook
Categories
Ubuntu/Debian
Comments rss
Comments rss
Trackback
Trackback

« Ubuntu Server generate locals Upgrade Debian Etch to Debian Lenny »

Leave a Reply

Click here to cancel reply.

 

May 2012
M T W T F S S
« Apr    
 123456
78910111213
14151617181920
21222324252627
28293031  

Categories

  • confixx/Plesk
  • fun
  • Gentoo
  • iptables
  • mysql
  • news
  • Raid Controllers
  • Stuff
  • Ubuntu/Debian
  • Xen/Vmware

Links

  • Gentoo
  • http.net
  • iphone software linux
  • michael-fuchs.net
  • Ubuntu
  • webupd8.org

Search Blog

rss Comments rss valid xhtml 1.1 design by jide powered by Wordpress get firefox