Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Remove unncessary packages
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
rootlinux
n00b
n00b


Joined: 07 Oct 2004
Posts: 3

PostPosted: Thu Oct 07, 2004 7:50 am    Post subject: Remove unncessary packages Reply with quote

Hi,

How can I remove unnecessary packages in Gentoo Linux 2004.2?

I have a 2.1GB hard disk and now it takes up 84% from the Install Universal CD

Rgds,
rootlinux
Back to top
View user's profile Send private message
hardcore
l33t
l33t


Joined: 01 Nov 2003
Posts: 626
Location: MSU, MI

PostPosted: Thu Oct 07, 2004 8:25 am    Post subject: Reply with quote

You can do this:

Code:
rm -rf /usr/portage/distfiles/*
rm -rf /var/tmp/portage/*

_________________
Nothing can stop me now, cuz I just don't care.
Back to top
View user's profile Send private message
rootlinux
n00b
n00b


Joined: 07 Oct 2004
Posts: 3

PostPosted: Thu Oct 07, 2004 9:13 am    Post subject: Reply with quote

I already run "rm -fr /var/tmp/portage/*" but is there any problem if I run the first command?


hardcore wrote:
You can do this:

Code:
rm -rf /usr/portage/distfiles/*
rm -rf /var/tmp/portage/*
Back to top
View user's profile Send private message
Pink
Veteran
Veteran


Joined: 24 Jul 2003
Posts: 1062

PostPosted: Thu Oct 07, 2004 9:25 am    Post subject: Reply with quote

rootlinux wrote:
I already run "rm -fr /var/tmp/portage/*" but is there any problem if I run the first command?


No, you need the space and this is usually a fairly large directory.

But, be aware all the files in /usr/portage/distfiles are the downloaded source tarballs for all the progs you have installed. So, if you have a slow interent connection you may want to back them up on CD, etc before deleting them. If you are happy that you have everything installed and are not concerned at having to download progs again if you need to re-emerge them then delete them.

For example, my distfiles has about 2GB of downloaded source progs which I would not like to download again should I have to do a complete re-install or change my Flags and do an emerge -e world.

HTH :D
_________________
usefuljaja.com - VPS Tutorials
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum