LinuxQuestions.org
Review your favorite Linux distribution.
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-30-2004, 05:13 PM   #1
kidicarus
Member
 
Registered: Aug 2003
Distribution: Debian Sid
Posts: 93

Rep: Reputation: 15
What's a good way to clear up some space


I'm trying to figure out a way to clear up some space on my machine. I tried to keep a pretty minimal system. I upgraded from Woody to Sid and installed KDE, but those are the only major installs that I remember doing.

However, my disk usage is at 100%:

icarus@icarus:~$ df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda6 1494204 1416780 1520 100% /

Every time I run dselect to try and remove a few things it either errors with dependency problems or it ends up trying to install more than it removes. Perhaps dselect is the old setup from woody I don't know, and don't really want to mess with it.


Are there any useless programs that are not related to programming that I could remove on my PC that debian installs? I only used one cd to install debian, so 1.4 gigs of hard drive space should be plenty. I want to at least be able to install X-chat and a few more things, so this is quite burdensome.

Also, is there a way to view the group organization in debian? You can view groups in redhat by typing:

rpm -qa --queryformat '%{GROUP}\n' | sort | uniq

and it shows the major package categories, along with sub-group categories. I was wondering if dpkg also provided for hierarchical listings of software.
 
Old 05-30-2004, 07:58 PM   #2
macondo
Senior Member
 
Registered: Jul 2003
Location: Central America
Distribution: Slackwre64-current Devuan
Posts: 1,034

Rep: Reputation: 62
1. you need 2 gigs minimum.

2.Uninstall KDE, use XFCE4 or Fluxbox

3. Install deborphan, localepurge and debfoster. In deborphan, execute deborphan, it will give you a list of orphaned libraries. To get rid of them:

#deborphan | xargs apt-get -y remove --purge

4. Go to www.debian.org>Documentation>Manuals>APT-HOWTO

Stay there for a week, do not surface before that.
 
Old 05-30-2004, 08:00 PM   #3
macondo
Senior Member
 
Registered: Jul 2003
Location: Central America
Distribution: Slackwre64-current Devuan
Posts: 1,034

Rep: Reputation: 62
For groups and categories:

debian.org>Packages>Version>categories OR:

#apt-cache search <category or package name>
 
Old 05-30-2004, 08:25 PM   #4
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480° N, 95.3690° W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 47
Do a
du -sh /var/cache/apt/archives/
This is where apt stores .deb files which it downloads to install

apt-get clean
will remove the downloaded .deb files.
 
Old 06-07-2004, 06:44 AM   #5
kidicarus
Member
 
Registered: Aug 2003
Distribution: Debian Sid
Posts: 93

Original Poster
Rep: Reputation: 15
Quote:
1. you need 2 gigs minimum.

When I started I was using less than 60% disc space, this is because debian gives you the option of installing a very minimal system.

When I messed around with dselect is when I had this problem.


Quote:
2.Uninstall KDE, use XFCE4 or Fluxbox
Good idea. I'm probably gonna try that.

Quote:
3. Install deborphan, localepurge and debfoster. In deborphan, execute deborphan, it will give you a list of orphaned libraries. To get rid of them:
Deborphan is too big a package.

Quote:
debian.org>Packages>Version>categories OR:

#apt-cache search <category or package name>

That shows you the packages availabe for installation. I want a command that lists the packages i have install, i guess dselect is the only way but I don't like that program because when i try and remove something it wants to do a whole lot of other stuff.
 
Old 06-07-2004, 06:45 AM   #6
kidicarus
Member
 
Registered: Aug 2003
Distribution: Debian Sid
Posts: 93

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by darthtux
Do a
du -sh /var/cache/apt/archives/
This is where apt stores .deb files which it downloads to install

apt-get clean
will remove the downloaded .deb files.
That cleared up a lot of space I know have about 70 gigs free.
 
Old 06-07-2004, 09:58 AM   #7
macondo
Senior Member
 
Registered: Jul 2003
Location: Central America
Distribution: Slackwre64-current Devuan
Posts: 1,034

Rep: Reputation: 62
Deborphan is too big a package.
************************
If you uninstall KDE, you got an extra 100 MB free, with localepurge debfoster, and deborphan you will save another 50-70 MB, capisci?
**********************************
*That shows you the packages availabe for installation. I want a command that lists the packages i have install,
***********************************
From Google:

dpkg -l |grep ii
 
Old 06-09-2004, 08:35 AM   #8
zuralin
Member
 
Registered: Sep 2003
Distribution: Debian testing/unstable
Posts: 229

Rep: Reputation: 32
Quote:
Originally posted by kidicarus
I want a command that lists the packages i have install, i guess dselect is the only way but I don't like that program because when i try and remove something it wants to do a whole lot of other stuff.
apt-get install aptitude

dselect has always sucked
 
Old 06-14-2004, 07:40 PM   #9
kidicarus
Member
 
Registered: Aug 2003
Distribution: Debian Sid
Posts: 93

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by macondo
If you uninstall KDE, you got an extra 100 MB free, with localepurge debfoster, and deborphan you will save another 50-70 MB, capisci?
Yes, gotcha. I installed deborphan and I think it is a good program and it definitely helped me clear up a lot of space.

Quote:
Originally posted by macondo
From Google:

dpkg -l |grep ii
I couldn't find a command like that myself, but that certainly does it. Thanks!
 
Old 06-14-2004, 07:41 PM   #10
kidicarus
Member
 
Registered: Aug 2003
Distribution: Debian Sid
Posts: 93

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by zuralin
apt-get install aptitude

dselect has always sucked
Yeah aptitude is way better. Thanks.
 
  


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
Fonts looks awful on Debian Linux... how do I make it look good and clear like MS? ExCIA Linux - Newbie 2 05-17-2005 06:39 PM
removing language support to clear space paranoid times Linux - Software 0 04-15-2005 11:46 PM
Good swap space for Fedora Core 2? blueturtle Linux - Newbie 4 08-10-2004 10:18 AM
Clear out Linux Mandrake disk space? aaronlc Linux - Software 5 02-18-2003 07:09 PM
How to clear up disk space? graystarr Linux - Newbie 3 01-24-2002 08:44 AM

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

All times are GMT -5. The time now is 10:07 AM.

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