Lines 191-198
Link Here
|
191 |
|
191 |
|
192 |
</body> |
192 |
</body> |
193 |
</subsection> |
193 |
</subsection> |
|
|
194 |
</section> |
195 |
<section id="preparing_grp"> |
196 |
<title>Optional: Preparing for GRP</title> |
194 |
<subsection> |
197 |
<subsection> |
195 |
<title>Optional: Install GRP Packages</title> |
198 |
<title>Introduction</title> |
196 |
<body> |
199 |
<body> |
197 |
|
200 |
|
198 |
<impo> |
201 |
<impo> |
Lines 202-216
Link Here
|
202 |
|
205 |
|
203 |
<p> |
206 |
<p> |
204 |
Now that your system is booted, log on as the user you created (for instance, |
207 |
Now that your system is booted, log on as the user you created (for instance, |
205 |
<c>john</c>) and use <c>su -</c> to gain root privileges: |
208 |
<c>john</c>), use <c>su -</c> to gain root privileges and create the |
|
|
209 |
directory where we store the GRP packages. |
206 |
</p> |
210 |
</p> |
207 |
|
211 |
|
208 |
<pre caption="Gaining root privileges"> |
212 |
<pre caption="Gaining root privileges"> |
209 |
$ <i>su -</i> |
213 |
$ <i>su -</i> |
210 |
Password: <comment>(Enter your root password)</comment> |
214 |
Password: <comment>(Enter your root password)</comment> |
|
|
215 |
mkdir /usr/portage/packages/All -p |
211 |
</pre> |
216 |
</pre> |
212 |
|
217 |
|
213 |
<p> |
218 |
<p> |
|
|
219 |
If you want to use the prebuilt packages provided by the LiveCD, continue with |
220 |
<uri link="#copying_from_livecd">Copying over the GRP packages</uri>. |
221 |
</p> |
222 |
|
223 |
<p> |
224 |
If you want to use the prebuilt packages provided by a Gentoo mirror, continue |
225 |
with <uri link="#grp_downloads">Configuring Portage for GRP Downloads</uri>. |
226 |
</p> |
227 |
|
228 |
</body> |
229 |
</subsection> |
230 |
<subsection id="copying_from_livecd"> |
231 |
<title>Copying over the GRP packages</title> |
232 |
<body> |
233 |
|
234 |
<p> |
214 |
Now we need to copy over the prebuilt binaries from the second CD (CD-2) if you |
235 |
Now we need to copy over the prebuilt binaries from the second CD (CD-2) if you |
215 |
have it. First mount this CD: |
236 |
have it. First mount this CD: |
216 |
</p> |
237 |
</p> |
Lines 227-236
Link Here
|
227 |
</p> |
248 |
</p> |
228 |
|
249 |
|
229 |
<pre caption="Copy over prebuilt binaries"> |
250 |
<pre caption="Copy over prebuilt binaries"> |
230 |
# <i>cp /mnt/cdrom/packages/All/* /usr/portage/packages/All/</i> |
251 |
<comment>(For Gentoo 1.4)</comment> |
|
|
252 |
# <i>cp -R /mnt/cdrom/packages /usr/portage/packages</i> |
253 |
|
254 |
<comment>(For Gentoo 2004.0)</comment> |
255 |
# <i>cp -R /mnt/cdrom /usr/portage/packages</i> |
231 |
</pre> |
256 |
</pre> |
232 |
|
257 |
|
233 |
<p> |
258 |
<p> |
|
|
259 |
Now pay close attention! Your Portage snapshot is in place and the GRP packages |
260 |
are ready to be used. However, Portage doesn't automagically use them unless you |
261 |
tell it to. Luckily, this is hardly difficult: every time you are asked to |
262 |
install a package using <c>emerge</c>, you must add <c>--usepkg</c> as an |
263 |
option: |
264 |
</p> |
265 |
|
266 |
<p> |
234 |
Now install the packages you want. CD-2 contains several prebuilt binaries, for |
267 |
Now install the packages you want. CD-2 contains several prebuilt binaries, for |
235 |
instance KDE: |
268 |
instance KDE: |
236 |
</p> |
269 |
</p> |
Lines 253-258
Link Here
|
253 |
</p> |
286 |
</p> |
254 |
|
287 |
|
255 |
<p> |
288 |
<p> |
|
|
289 |
That's all there is to it. Just don't forget to add <c>--usepkg</c>. |
290 |
</p> |
291 |
|
292 |
<p> |
293 |
Congratulations, your system is now fully equiped! Continue with <uri |
294 |
link="?part=1&chap=12">Where to go from here?</uri> to learn more about |
295 |
Gentoo. |
296 |
</p> |
297 |
|
298 |
</body> |
299 |
</subsection> |
300 |
<subsection id="grp_downloads"> |
301 |
<title>Configuring Portage for GRP Downloads</title> |
302 |
<body> |
303 |
|
304 |
<p> |
305 |
First of all, you need to edit <path>/etc/make.conf</path> and define |
306 |
the <c>PORTAGE_BINHOST</c> variable so that it points to the server from which |
307 |
you want to download the GRP packages. Please check our <uri |
308 |
link="/main/en/mirrors.xml">mirror list</uri> for the available mirrors. |
309 |
</p> |
310 |
|
311 |
<pre caption="Editing /etc/make.conf"> |
312 |
# <i>nano -w /etc/make.conf</i> |
313 |
</pre> |
314 |
|
315 |
<pre caption="Setting the PORTAGE_BINHOST variable"> |
316 |
PORTAGE_BINHOST="ftp://some.mirror.com/pub/gentoo/grp/2004/athlon-xp" |
317 |
</pre> |
318 |
|
319 |
<p> |
320 |
Save and exit (by pressing Ctrl-X and confirming). With this in place, you must |
321 |
now pay close attention. Portage will not automagically download the GRP |
322 |
packages if you don't instruct it to. However, this isn't hard: every time you |
323 |
are asked to install a package using <c>emerge</c>, you must add |
324 |
<c>--getbinpkg</c> as an option: |
325 |
</p> |
326 |
|
327 |
<p> |
328 |
Now install the packages you want. CD-2 contains several prebuilt binaries, for |
329 |
instance KDE: |
330 |
</p> |
331 |
|
332 |
<pre caption="Installing KDE"> |
333 |
# <i>USE="bindist" emerge --getbinpkg kde</i> |
334 |
</pre> |
335 |
|
336 |
<p> |
337 |
The <c>USE="bindist"</c> is needed when you install XFree (either directly or as |
338 |
a dependency). It prevents the downloading of Microsoft's core fonts (which we |
339 |
cannot distribute on our LiveCDs). |
340 |
</p> |
341 |
|
342 |
<p> |
343 |
That's all there is to it. Just don't forget to add <c>--getbinpkg</c>. |
344 |
</p> |
345 |
|
346 |
<p> |
256 |
Congratulations, your system is now fully equiped! Continue with <uri |
347 |
Congratulations, your system is now fully equiped! Continue with <uri |
257 |
link="?part=1&chap=12">Where to go from here?</uri> to learn more about |
348 |
link="?part=1&chap=12">Where to go from here?</uri> to learn more about |
258 |
Gentoo. |
349 |
Gentoo. |