Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
/usr/portage question
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
darkshadow
n00b
n00b


Joined: 14 Aug 2003
Posts: 1
Location: Canada

PostPosted: Thu Aug 14, 2003 5:38 am    Post subject: /usr/portage question Reply with quote

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
View user's profile Send private message
Pythonhead
Developer
Developer


Joined: 16 Dec 2002
Posts: 1801
Location: Redondo Beach, Republic of Calif.

PostPosted: Thu Aug 14, 2003 6:15 am    Post subject: Reply with quote

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
View user's profile Send private message
daveo
n00b
n00b


Joined: 09 Aug 2003
Posts: 54

PostPosted: Thu Aug 14, 2003 6:46 am    Post subject: Re: /usr/portage question Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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