| View previous topic :: View next topic |
| Author |
Message |
rootlinux n00b

Joined: 07 Oct 2004 Posts: 3
|
Posted: Thu Oct 07, 2004 7:50 am Post subject: Remove unncessary packages |
|
|
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 |
|
 |
hardcore l33t


Joined: 01 Nov 2003 Posts: 626 Location: MSU, MI
|
Posted: Thu Oct 07, 2004 8:25 am Post subject: |
|
|
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 |
|
 |
rootlinux n00b

Joined: 07 Oct 2004 Posts: 3
|
Posted: Thu Oct 07, 2004 9:13 am Post subject: |
|
|
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 |
|
 |
Pink Veteran


Joined: 24 Jul 2003 Posts: 1062
|
Posted: Thu Oct 07, 2004 9:25 am Post subject: |
|
|
| 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  _________________ usefuljaja.com - VPS Tutorials |
|
| Back to top |
|
 |
|