Skip to content

Clean your system

2007 June 12
tags:
by Philippe Delodder

There a various ways to clean your system if you have Debian installed. In this text you’ll find a few:

  • to clean obsolete packages (packages of version which would not be installed if requested now)
  • Linux:~# apt-get autoclean

  • to empty all /var/cache/apt/archives/*.deb
  • Linux:~# apt-get clean

  • Cleaning up orphaned libraries:
    This is exactly what the deborphan package does. From its description:

    deborphan finds “orphaned” packages on
    your system. It determines which packages have no other packages
    depending on their installation, and shows you a list of these
    packages. It is most useful when finding libraries, but it can be used
    on packages in all sections.”

  • To install deborphan

    Linux:~# aptitude install deborphan

    You can use it by typing

    Linux:~# deborphan

Note: don’t blame me if this will break your system… You are always
in control and you decide what to remove and what to keep installed on
your own system

No comments yet

Leave a Reply

Note: You can use basic XHTML in your comments. Your email address will never be published.

Subscribe to this comment feed via RSS

Bad Behavior has blocked 203 access attempts in the last 7 days.