[plug] Deleting unused packages
Richard Meyer
meyerri at au1.ibm.com
Tue Aug 19 15:00:55 WST 2003
Seem to remember someone asking about doing something similarin the last
month or so. I can't remember what distro they were using, though. Anyway
here's something you Debian fans may like.
http://www.linuxgazette.com/issue93/lg_tips.html
Cheers
RichardM
Spring Cleaning For Continuous Upgrades
If you have an easy-to-upgrade Linux system, you end up with a system
that's been upgraded many times instead of backed up and reinstalled.
To get rid of all the unused libraries from your Debian system, try the
deborphan utility: http://www.tribe.eu.org/deborphan
or, of course:
apt-get install deborphan
It finds all the libraries that no longer have anything depending on them.
To purge unused libraries, simply do this:
deborphan | sudo xargs apt-get -y --purge remove
More information about the plug
mailing list