View previous topic :: View next topic |
Author |
Message |
Samurai_Punch Guest
|
Posted: Fri Apr 26, 2002 3:25 am Post subject: Gentoo packages on CD/install |
|
|
I was wondering if it'd be possible to download (all/some) the packages for gentoo, burn them onto CD's and use those CDs to install gentoo with... just to save myself the hassle of downloading the packages each time i install.
So if this is doable, how would you do it? |
|
Back to top |
|
|
bfinary n00b
Joined: 22 Apr 2002 Posts: 7 Location: Birmingham, UK
|
Posted: Fri Apr 26, 2002 5:14 am Post subject: |
|
|
Install the stage 3 to get a basic system up and running, then having downloaded all of the latest packages and burnt onto CD, copy them into the /usr/portage/distfiles folder. Run an emerge rsync, then when you emerge the packages you want Gentoo will look in the distfiles folder first before trying to download.
This worked cool for me! |
|
Back to top |
|
|
daos n00b
Joined: 18 Apr 2002 Posts: 50 Location: Virginia, USA
|
Posted: Fri Apr 26, 2002 12:54 pm Post subject: |
|
|
There are some pre-built binary packages in gentoo mirror site (in release folder). For instance, X windows, mozilla, and some gnome packages have been built already. You can download these packages, copy to / and tar -jxpf *.tbz2. I save time to compile these packages.
(I tries emerge --usepkg on these binary packages but this does not always work). |
|
Back to top |
|
|
Samurai_Punch Guest
|
Posted: Sat Apr 27, 2002 3:35 am Post subject: |
|
|
Does it matter which dir (gentoo-sources or distfiles) i download the files from? And i dl all of them too right?
I've downloaded most of them but i did skip the language support files for kde, and koffice, as well as only selecting kde3 for my wm. Would this cause any problems? |
|
Back to top |
|
|
dArkMaGE Apprentice
Joined: 20 Apr 2002 Posts: 152
|
Posted: Sat Apr 27, 2002 6:40 am Post subject: |
|
|
one is just a link to the other so it doesnt really matter |
|
Back to top |
|
|
fghellar Bodhisattva
Joined: 10 Apr 2002 Posts: 856 Location: Porto Alegre, BR
|
Posted: Sat Apr 27, 2002 6:58 am Post subject: |
|
|
bfinary wrote: | having downloaded all of the latest packages and burnt onto CD, copy them into the /usr/portage/distfiles folder. |
Actually, you don't need to copy the files to your hard disk. You just have to mount the CD somewhere and set the variable DISTDIR to poit there. E.g.:
Code: | # mount /mnt/cdrom
# export DISTDIR="/mnt/cdrom"
# emerge anything |
There are also other variables you can set. Check the section "Directory Locations" of the Portage Manual. _________________ | www.gentoo.org | www.tldp.org | www.google.com | |
|
Back to top |
|
|
|