+ Reply to Thread
Results 1 to 3 of 3

Thread: Keeping your Ubuntu/Debian machines clean

  1. #1
    Onur Guest

    Arrow Keeping your Ubuntu/Debian Machines Clean

    I tend to install a lot of stuff on my Ubuntu machines. Much of this I do for curiosity and then report it here. This means that not only do I get to check out lots of interesting stuff, but my machines also start getting cluttered with stale files, old versions and orphaned files.
    Here are two quick ways to help clean up your system.
    First, you can use a built in apt-get feature called autoclean. Open a terminal session and type:
    Code:
    sudo apt-get autoclean
    This will rid your system of partial packages and mucked up .deb downloads and can free up a suprising amount of space.
    Another great tool is a package called Deborphan. You can either install this through Synaptic or again in a terminal session type:
    Code:
    sudo apt-get install deborphan
    Once it's installed, you can run it to list all of your orphaned packages. Think of them as packages that no longer serve a purpose and are not needed or used on your machine. Once you get a list, you can use apt-get to remove them.
    Code:
    sudo deborphan | xargs sudo apt-get -y remove --purge
    Now you've saved yourself some space.

  2. CODECALL Circuit advertisement

     
  3. #2
    rumen is offline Programmer
    Join Date
    Jun 2008
    Posts
    110
    Rep Power
    0
    Thanks for the nice tips. I have Ubuntu 8.04 and it's getting pretty stuffed sometimes

  4. #3
    senecaz is offline Newbie
    Join Date
    Feb 2009
    Posts
    16
    Rep Power
    0
    easy command, thanks for the tip, ill be trying this out after i backup my files.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Question about Ubuntu Desktop and Ubuntu Server editions
    By liamzebedee in forum Linux Installation & Configuration
    Replies: 1
    Last Post: 04-29-2011, 10:47 PM
  2. a clean database
    By denarced in forum Database & Database Programming
    Replies: 4
    Last Post: 06-23-2009, 02:20 PM
  3. Keeping your computer clean and fast
    By Brandon W in forum Tutorials
    Replies: 118
    Last Post: 10-10-2008, 02:46 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts