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

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
leonchik1976
Guru
Guru


Joined: 24 Jan 2010
Posts: 325

PostPosted: Tue Jul 26, 2016 4:00 pm    Post subject: question about /usr/portage/distfiles Reply with quote

hi, everyone, i'm curios, can content of /usr/portage/distfiles be safely deleted?
and also - can i move it to NFS location for to be used for several machines?
Back to top
View user's profile Send private message
sabayonino
Veteran
Veteran


Joined: 03 Jan 2012
Posts: 1014

PostPosted: Tue Jul 26, 2016 6:24 pm    Post subject: Reply with quote

Hi

Yes it can.
distfiles is the location where the source packages are stored.

you can also manage all packages with

Code:
# eclean distfiles

(provided by app-portage/gentoolkit)

see
Code:
# man eclean

or
Code:
# eclean --help


cheers :)
_________________
LRS i586 on G.Drive
LRS x86-64 EFI on MEGA
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30909
Location: here

PostPosted: Tue Jul 26, 2016 6:29 pm    Post subject: Re: question about /usr/portage/distfiles Reply with quote

leonchik1976 wrote:
hi, everyone, i'm curios, can content of /usr/portage/distfiles be safely deleted?

Yes, the folder contains only sources of packages you have installed. You can remove manually with rm or use command eclean-dist (gentoolkit).

leonchik1976 wrote:
and also - can i move it to NFS location for to be used for several machines?

I haven't experience with sharing distfiles but a quick search in google I have found this and this
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Syl20
l33t
l33t


Joined: 04 Aug 2005
Posts: 619
Location: France

PostPosted: Fri Jul 29, 2016 12:06 pm    Post subject: Re: question about /usr/portage/distfiles Reply with quote

leonchik1976 wrote:
can i move it to NFS location for to be used for several machines?

Yes, you can.
You can also set up a rsync server for /usr/portage on one cumputer, and then all the others could emerge --sync without internet access.
Back to top
View user's profile Send private message
depontius
Advocate
Advocate


Joined: 05 May 2004
Posts: 3509

PostPosted: Fri Jul 29, 2016 1:17 pm    Post subject: Reply with quote

I used to have a local portage rsync mirror on a server, but that broke with the move to git.
I was also using http_replicator for a while, but that grew increasingly brittle, so last time I had to work around it on my clients, I kind of forgot to set them back.

Instead, this week I set up portage on nfs, except I'm running nfsv4, but that should be minor. As suggested, I have two mount points, read-only for the whole portage tree, and read-write for distfiles. I haven't actually used this setup yet, we'll see how it goes this weekend, when I normally do my "weekend update". (TM - SNL)
_________________
.sigs waste space and bandwidth
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Fri Jul 29, 2016 1:29 pm    Post subject: Reply with quote

You can have whole portage on NFS, why duplicate all those files in every box.
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing 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