LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 05-23-2007, 05:08 AM   #1
Armane
LQ Newbie
 
Registered: Mar 2007
Posts: 24

Rep: Reputation: 15
Cleanup tool for Debian?


Hello

I was wondering if there is a known tool/program that can help to minimize a installation of unnecessary files/programs and logs that is just taking space on the hd?

Best regards
Mattias
 
Old 05-23-2007, 05:34 AM   #2
Samotnik
Member
 
Registered: Jun 2006
Location: Belarus
Distribution: Debian GNU/Linux testing/unstable
Posts: 471

Rep: Reputation: 40
When installing Debian base system you will get an absolutely minimal system able to run by itself. Then with apt you can add anything you want without any unnecessary program.

Last edited by Samotnik; 05-23-2007 at 05:35 AM.
 
Old 05-23-2007, 07:15 AM   #3
IsaacKuo
Senior Member
 
Registered: Apr 2004
Location: Baton Rouge, Louisiana, USA
Distribution: Debian Stable
Posts: 2,546
Blog Entries: 8

Rep: Reputation: 465Reputation: 465Reputation: 465Reputation: 465Reputation: 465
Even so, there are a lot of things you can do to clean things up. Running "apt-get clean", for example, will clean up the cached .deb package files (which aren't needed after the package is installed). There's also some package which will apparently clean up a LOT of space by removing the locale stuff for languages other than your own.

I don't know of any overall cleanup tool, but I imagine the best thing would be a bash script to do it. That way, you could customize the cleanup script easily--adding or removing bits as desired.
 
Old 05-23-2007, 07:21 AM   #4
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
you should have logrotate or something similar installed to automatically clean up your log files..

localepurge, someone just pointed this out recently.. saves quite a bit of space. What do I need help files in German, dutch, spanish, etc.. this cleans them out.
Quote:
user@it-etch:~$ aptitude search localepurge
p localepurge - Automagically remove unnecessary locale data
 
Old 05-23-2007, 08:04 AM   #5
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Running deborphan and debfoster for excess packages and if the machine is not on very early in the morning then install anacron so the cron jobs that would be run at that time (like rotating and deleting log files) are checked and run when you turn your machine on.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
best debian backup tool patolfo Debian 6 09-01-2006 10:34 PM
network configuration GUI based tool in Debian linian Linux - Networking 2 07-26-2006 09:38 PM
kacpid problem or debian tool? Cataract Debian 6 03-02-2006 11:47 AM
How to start debian config tool? stevenh Linux - Software 3 02-21-2006 11:10 AM
Debian-and tool like chkconfig and services banana2 Linux - Software 1 01-12-2003 11:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 11:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration