/[gentoo]/xml/htdocs/doc/en/handbook/hb-working-portage.xml
Gentoo

Diff of /xml/htdocs/doc/en/handbook/hb-working-portage.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.3 Revision 1.4
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>
221the size of the downloaded files, the homepage and the small description. 221the size of the downloaded files, the homepage and the small description.
222</p> 222</p>
223 223
224<p> 224<p>
225You see something new? Yes, <e>downloaded files</e>. When you tell Portage to 225You see something new? Yes, <e>downloaded files</e>. When you tell Portage to
226install a package, it ofcourse needs to have the necessary sources (or 226install a package, it of course needs to have the necessary sources (or
227precompiled packages) available. It therefor checks the contents of 227precompiled 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
230necessary files are already available. If not, it downloads the necessary files 230necessary files are already available. If not, it downloads the necessary files
231and places them in those directories. 231and places them in those directories.
351As you probably have guessed, building packages takes a lot of time (especially 351As you probably have guessed, building packages takes a lot of time (especially
352if you have little resources or want to build big packages, such as <uri 352if you have little resources or want to build big packages, such as <uri
353link="http://www.kde.org">KDE</uri>, <uri 353link="http://www.kde.org">KDE</uri>, <uri
354link="http://www.openoffice.org">OpenOffice.org</uri>, etc.). By building the 354link="http://www.openoffice.org">OpenOffice.org</uri>, etc.). By building the
355package, you can use the <c>USE</c> setting to tweak the package to your system. 355package, you can use the <c>USE</c> setting to tweak the package to your system.
356Ofcourse, you can also define high optimization options (in the <c>CFLAGS</c> 356Of course, you can also define high optimization options (in the <c>CFLAGS</c>
357and <c>CXXFLAGS</c> variables) to compile the package with. 357and <c>CXXFLAGS</c> variables) to compile the package with.
358</p> 358</p>
359 359
360<p> 360<p>
361Using prebuild packages improves the installation time (as no more compilation 361Using 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 "&lt;gnumeric-1.2"</i> 431# <i>emerge "&lt;gnumeric-1.2"</i>
432</pre> 432</pre>
433 433
434<p> 434<p>
435Other possibilities are ofcourse "&gt;" (later version) and "=" (the exact 435Other possibilities are of course "&gt;" (later version) and "=" (the exact
436version). 436version).
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 "&lt;gnumeric-1.2"</i> 513# <i>emerge --usepkg "&lt;gnumeric-1.2"</i>
514</pre> 514</pre>
515 515
516<p> 516<p>
517Other possibilities are ofcourse "&gt;" (later version) and "=" (the exact 517Other possibilities are of course "&gt;" (later version) and "=" (the exact
518version). 518version).
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>
623Ofcourse, we are talking here about <e>system</e> and <e>world</e>, but you can 623Of course, we are talking here about <e>system</e> and <e>world</e>, but you can
624perform the same actions for individual software packages. 624perform the same actions for individual software packages.
625</p> 625</p>
626 626
627</body> 627</body>
628</subsection> 628</subsection>

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.20