LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 10-19-2005, 11:42 PM   #1
microsoft/linux
Senior Member
 
Registered: May 2004
Location: Sebec, ME, USA
Distribution: Debian Etch, Windows XP Home, FreeBSD
Posts: 1,445
Blog Entries: 9

Rep: Reputation: 45
cleaning up. Removing packages that are unnecessary.


Would some one here take the time out of their busy schedule to help me go through and decide what packages I need and which ones I don't? I've got abou 3.5GB of my 5GB used, and I'd like to clear it some more. I have KDE installed(which may be the reason I have such a big space taken up). If anyone know's how to list all the packages currently installed, I'll do that and post it here. I know I know, I'm being lazy. But I'm not...I'm just not sure what I need and what I don't.
 
Old 10-20-2005, 02:13 AM   #2
makuyl
Senior Member
 
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107

Rep: Reputation: 53
You can list installed packages by size with:
dpkg-query -W --showformat='${Installed-Size} ${Package}\n' | sort -n

Some stuff to remove would be localisation files like the i18n packages. Also apt-get install localepurge and deborphan. It's a bit difficult for others to say which packages you don't need
 
Old 10-20-2005, 04:40 AM   #3
stimpsonjcat
Member
 
Registered: Apr 2005
Location: switzerland
Distribution: debian etch
Posts: 99

Rep: Reputation: 15
apt-get autoclean
or
apt-get clean

this will not uninstall packages you don't need, but it will clear a lot of disk space.

man apt-get
 
Old 10-20-2005, 07:02 AM   #4
RanDrake10
Member
 
Registered: Oct 2004
Location: Florida
Distribution: Debian
Posts: 319

Rep: Reputation: 30
Another good thing for making space is,
apt-get install localepurge
localepurge
This will remove all non locale man pages.
 
Old 10-20-2005, 08:59 AM   #5
microsoft/linux
Senior Member
 
Registered: May 2004
Location: Sebec, ME, USA
Distribution: Debian Etch, Windows XP Home, FreeBSD
Posts: 1,445
Blog Entries: 9

Original Poster
Rep: Reputation: 45
thank you. Is it probable that all the downloaded packages(apt-get clean will remove them) is what are taking up most of the space? I'd forgotten that installing over the network causes this. I installed my system, and the first set of packages via CD, and it doesn't copy the packages off of the CD. Thanks again
 
Old 10-20-2005, 10:02 AM   #6
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 53
I also use deborphan and cruft.
 
Old 10-20-2005, 10:35 AM   #7
stimpsonjcat
Member
 
Registered: Apr 2005
Location: switzerland
Distribution: debian etch
Posts: 99

Rep: Reputation: 15
the downloaded packages are stored in /var/cache/apt/archives
the size of that directory is about what you can expect to be freed by apt-get clean.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
aptitude removing packages Tons of Fun Debian 2 06-05-2005 04:20 PM
removing certain packages Smokey Red Hat 1 10-02-2004 07:55 PM
removing packages robson8112 Linux - General 3 01-21-2004 03:34 PM
Removing unnecessary services and users/groups Jiggy Linux - Security 4 11-18-2003 01:11 PM
removing packages..??? mhd_Ahmed Linux - Newbie 4 08-22-2003 12:46 PM


All times are GMT -5. The time now is 08:50 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration