![]() |
![]() OCAU News - Wiki - QuickLinks - Pix - Sponsors |
|
|||||||
| Notices |
|
Sign up for a free OCAU account and this ad will go away! Search our forums with Google: |
![]() |
|
|
Thread Tools |
|
|
#1 |
|
Member
Join Date: Dec 2001
Location: London
Posts: 214
|
I have two gentoo systems and don't want to download packages twice. Is it possible to either set one machine as a small package mirror or to copy the package files to the other system and use portage to install them? If so, how?
I've done some googling on this, but didn't find anything ![]() Thanks |
|
|
|
| Join OCAU to remove this ad! |
|
|
#2 | |
|
Member
Join Date: Jun 2001
Location: Brisbane 4065
Posts: 5,088
|
Quote:
Mount this share on the other machine as /usr/portage/distfiles. Done. Alternatively, mount it as another directory, and 'export DISTDIR="/path/to/share"' <-- Add this to your profile. (I think that is the env variable. Check the portage manual, to be sure). Either of those methods should work fine. Thus, after either of the computers emerges the package, it will be in the common portage cache, and the next computer won't download it again. |
|
|
|
|
|
|
#3 |
|
Member
Join Date: Jun 2002
Location: Brisbane
Posts: 920
|
look on the gentoo forums
all the packages (unless you've deleted them) are stored on your hardrive, you can point you other installation at this directory. distfiles or somewhere near there. You can of course simply copy them accross as well, there are a couple other things you need to do. But I don't remember of hand, see first comment.
__________________
Jac The liver is evil and must be punished. |
|
|
|
|
|
#4 |
|
Member
Join Date: Dec 2001
Location: London
Posts: 214
|
Ah, many thanks for your answers.
|
|
|
|
|
|
#5 | |
|
Member
Join Date: Sep 2001
Location: NSW
Posts: 1,501
|
Quote:
|
|
|
|
|
|
|
#6 | |
|
Member
Join Date: Jun 2001
Location: Brisbane 4065
Posts: 5,088
|
Quote:
When doing a clean install, burn all your distfiles directory to a couple of cd's. In the installation, just before chrooting to /mnt/gentoo, mount the cd's in turn, and copy all the files to /mnt/gentoo/usr/portage/distfiles. Net result: The installation downloads precisely zip. (excluding the rsync step, obviously). |
|
|
|
|
![]() |
| Bookmarks |
|
Sign up for a free OCAU account and this ad will go away! |
| Thread Tools | |
|
|