| 1 | <!-- The content of this document is licensed under the CC-BY-SA license --> |
1 | <!-- The content of this document is licensed under the CC-BY-SA license --> |
| 2 | <!-- See http://creativecommons.org/licenses/by-sa/1.0 --> |
2 | <!-- See http://creativecommons.org/licenses/by-sa/1.0 --> |
| 3 | |
3 | |
| 4 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-working-portage.xml,v 1.3 2003/11/26 20:19:59 swift Exp $ --> |
4 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-working-portage.xml,v 1.4 2003/11/27 11:08:00 swift Exp $ --> |
| 5 | |
5 | |
| 6 | <sections> |
6 | <sections> |
| 7 | <section> |
7 | <section> |
| 8 | <title>Obtaining Package Information</title> |
8 | <title>Obtaining Package Information</title> |
| 9 | <subsection> |
9 | <subsection> |
| … | |
… | |
| 221 | the size of the downloaded files, the homepage and the small description. |
221 | the size of the downloaded files, the homepage and the small description. |
| 222 | </p> |
222 | </p> |
| 223 | |
223 | |
| 224 | <p> |
224 | <p> |
| 225 | You see something new? Yes, <e>downloaded files</e>. When you tell Portage to |
225 | You see something new? Yes, <e>downloaded files</e>. When you tell Portage to |
| 226 | install a package, it ofcourse needs to have the necessary sources (or |
226 | install a package, it of course needs to have the necessary sources (or |
| 227 | precompiled packages) available. It therefor checks the contents of |
227 | precompiled packages) available. It therefor checks the contents of |
| 228 | <path>/usr/portage/distfiles</path> (for sourcecode) or |
228 | <path>/usr/portage/distfiles</path> (for sourcecode) or |
| 229 | <path>/usr/portage/packages/All</path> (for precompiled packages) to see if the |
229 | <path>/usr/portage/packages/All</path> (for precompiled packages) to see if the |
| 230 | necessary files are already available. If not, it downloads the necessary files |
230 | necessary files are already available. If not, it downloads the necessary files |
| 231 | and places them in those directories. |
231 | and places them in those directories. |
| … | |
… | |
| 351 | As you probably have guessed, building packages takes a lot of time (especially |
351 | As you probably have guessed, building packages takes a lot of time (especially |
| 352 | if you have little resources or want to build big packages, such as <uri |
352 | if you have little resources or want to build big packages, such as <uri |
| 353 | link="http://www.kde.org">KDE</uri>, <uri |
353 | link="http://www.kde.org">KDE</uri>, <uri |
| 354 | link="http://www.openoffice.org">OpenOffice.org</uri>, etc.). By building the |
354 | link="http://www.openoffice.org">OpenOffice.org</uri>, etc.). By building the |
| 355 | package, you can use the <c>USE</c> setting to tweak the package to your system. |
355 | package, you can use the <c>USE</c> setting to tweak the package to your system. |
| 356 | Ofcourse, you can also define high optimization options (in the <c>CFLAGS</c> |
356 | Of course, you can also define high optimization options (in the <c>CFLAGS</c> |
| 357 | and <c>CXXFLAGS</c> variables) to compile the package with. |
357 | and <c>CXXFLAGS</c> variables) to compile the package with. |
| 358 | </p> |
358 | </p> |
| 359 | |
359 | |
| 360 | <p> |
360 | <p> |
| 361 | Using prebuild packages improves the installation time (as no more compilation |
361 | Using prebuild packages improves the installation time (as no more compilation |
| … | |
… | |
| 430 | <pre caption="Installing a specific gnumeric version"> |
430 | <pre caption="Installing a specific gnumeric version"> |
| 431 | # <i>emerge "<gnumeric-1.2"</i> |
431 | # <i>emerge "<gnumeric-1.2"</i> |
| 432 | </pre> |
432 | </pre> |
| 433 | |
433 | |
| 434 | <p> |
434 | <p> |
| 435 | Other possibilities are ofcourse ">" (later version) and "=" (the exact |
435 | Other possibilities are of course ">" (later version) and "=" (the exact |
| 436 | version). |
436 | version). |
| 437 | </p> |
437 | </p> |
| 438 | |
438 | |
| 439 | </body> |
439 | </body> |
| 440 | </subsection> |
440 | </subsection> |
| … | |
… | |
| 512 | <pre caption="Installing a specific gnumeric version"> |
512 | <pre caption="Installing a specific gnumeric version"> |
| 513 | # <i>emerge --usepkg "<gnumeric-1.2"</i> |
513 | # <i>emerge --usepkg "<gnumeric-1.2"</i> |
| 514 | </pre> |
514 | </pre> |
| 515 | |
515 | |
| 516 | <p> |
516 | <p> |
| 517 | Other possibilities are ofcourse ">" (later version) and "=" (the exact |
517 | Other possibilities are of course ">" (later version) and "=" (the exact |
| 518 | version). |
518 | version). |
| 519 | </p> |
519 | </p> |
| 520 | |
520 | |
| 521 | |
521 | |
| 522 | </body> |
522 | </body> |
| … | |
… | |
| 618 | <pre caption="Upgrading your entire system"> |
618 | <pre caption="Upgrading your entire system"> |
| 619 | # <i>emerge --update --upgradeonly world</i> |
619 | # <i>emerge --update --upgradeonly world</i> |
| 620 | </pre> |
620 | </pre> |
| 621 | |
621 | |
| 622 | <p> |
622 | <p> |
| 623 | Ofcourse, we are talking here about <e>system</e> and <e>world</e>, but you can |
623 | Of course, we are talking here about <e>system</e> and <e>world</e>, but you can |
| 624 | perform the same actions for individual software packages. |
624 | perform the same actions for individual software packages. |
| 625 | </p> |
625 | </p> |
| 626 | |
626 | |
| 627 | </body> |
627 | </body> |
| 628 | </subsection> |
628 | </subsection> |