--- hb-install-finalise.xml.old 2004-03-04 17:14:38.804088424 +0100 +++ hb-install-finalise.xml 2004-03-04 19:00:25.191110360 +0100 @@ -191,8 +191,11 @@ + +
+Optional: Preparing for GRP -Optional: Install GRP Packages +Introduction @@ -202,15 +205,33 @@

Now that your system is booted, log on as the user you created (for instance, -john) and use su - to gain root privileges: +john), use su - to gain root privileges and create the +directory where we store the GRP packages.

 $ su -
 Password: (Enter your root password)
+mkdir /usr/portage/packages/All -p
 

+If you want to use the prebuilt packages provided by the LiveCD, continue with +Copying over the GRP packages. +

+ +

+If you want to use the prebuilt packages provided by a Gentoo mirror, continue +with Configuring Portage for GRP Downloads. +

+ + +
+ +Copying over the GRP packages + + +

Now we need to copy over the prebuilt binaries from the second CD (CD-2) if you have it. First mount this CD:

@@ -227,10 +248,18 @@

-# cp /mnt/cdrom/packages/All/* /usr/portage/packages/All/
+# cp /mnt/cdrom/All/* /usr/portage/packages/All/
 

+Now pay close attention! Your Portage snapshot is in place and the GRP packages +are ready to be used. However, Portage doesn't automagically use them unless you +tell it to. Luckily, this is hardly difficult: every time you are asked to +install a package using emerge, you must add --usepkg as an +option: +

+ +

Now install the packages you want. CD-2 contains several prebuilt binaries, for instance KDE:

@@ -246,10 +275,61 @@

-Be sure to install the binaries now. When you do an emerge sync to update -Portage (as you will learn later), the prebuilt binaries might not match against -the ebuilds in your updated Portage. You can try to circumvent this by using -emerge --usepkgonly instead of emerge --usepkg. +That's all there is to it. Just don't forget to add --usepkg. +

+ +

+Congratulations, your system is now fully equiped! Continue with Where to go from here? to learn more about +Gentoo. +

+ + +
+ +Configuring Portage for GRP Downloads + + +

+First of all, you need to edit /etc/make.conf and define +the PORTAGE_BINHOST variable so that it points to the server from which +you want to download the GRP packages. Please check our mirror list for the available mirrors. +

+ +
+# nano -w /etc/make.conf
+
+ +
+PORTAGE_BINHOST="ftp://some.mirror.com/pub/gentoo/grp/2004/athlon-xp"
+
+ +

+Save and exit (by pressing Ctrl-X and confirming). With this in place, you must +now pay close attention. Portage will not automagically download the GRP +packages if you don't instruct it to. However, this isn't hard: every time you +are asked to install a package using emerge, you must add +--getbinpkg as an option: +

+ +

+Now install the packages you want. CD-2 contains several prebuilt binaries, for +instance KDE: +

+ +
+# USE="bindist" emerge --getbinpkg kde
+
+ +

+The USE="bindist" is needed when you install XFree (either directly or as +a dependency). It prevents the downloading of Microsoft's core fonts (which we +cannot distribute on our LiveCDs). +

+ +

+That's all there is to it. Just don't forget to add --getbinpkg.