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

Joined: 14 Aug 2003 Posts: 1 Location: Canada
|
Posted: Thu Aug 14, 2003 5:38 am Post subject: /usr/portage question |
|
|
I have a friend who wanted to try Linux so I put Gentoo on his system and it is working awesome but due to hard drive space limitations I was wondering if the sources from /usr/portage could be deleted. since doing a "du -h /usr/portage" gives a 648mb size if would free up a sizeable chunk of space. So is there a command to do this. _________________ Proudly Canadian
Desk: Athlon 2600 1gb ram Geforce2 40+80gb hdd's CDR,DVD
Booting the OS of the future "Linux"
Distro: Started from Scratch (LFS)
GUI: BlackBox
Kernel: 2.6.0-test3 |
|
Back to top |
|
 |
Pythonhead Developer


Joined: 16 Dec 2002 Posts: 1801 Location: Redondo Beach, Republic of Calif.
|
Posted: Thu Aug 14, 2003 6:15 am Post subject: |
|
|
If you mean /usr/portage/distfiles, yes. You don't want to delete everything in /usr/portage though.
If you have a partition with free space you can change this location in /etc/make.conf - look for DISTDIR and then move the source files over there, in case he needs them later. |
|
Back to top |
|
 |
daveo n00b


Joined: 09 Aug 2003 Posts: 54
|
Posted: Thu Aug 14, 2003 6:46 am Post subject: Re: /usr/portage question |
|
|
darkshadow wrote: | I have a friend who wanted to try Linux so I put Gentoo on his system and it is working awesome but due to hard drive space limitations I was wondering if the sources from /usr/portage could be deleted. since doing a "du -h /usr/portage" gives a 648mb size if would free up a sizeable chunk of space. So is there a command to do this. |
You can delete the /usr/portage/packages map and the distfiles savely, BUT keep in mind that if you plan to re-install gentoo, you'll need to download all files again within distfiles. As mentioned earlyer you might wanna replace the distfiles, to a networks drive or other partion/disk. Then modify the /etc/make.conf and change the packages and or distfiles location.
Also remember that if you deside to remove the distfiles completly, and you'll need to patch a program, it will download the source first, than patching the source, re-compile it, re-install it and then afterwards remove the old merged package.
D. |
|
Back to top |
|
 |
|