/[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.8 Revision 1.9
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.8 2003/11/30 10:58:01 swift Exp $ --> 4<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-working-portage.xml,v 1.9 2003/11/30 11:31:38 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>
461 461
462<pre caption="Installing the prebuilt package for gnumeric"> 462<pre caption="Installing the prebuilt package for gnumeric">
463# <i>emerge --usepkgonly gnumeric</i> 463# <i>emerge --usepkgonly gnumeric</i>
464</pre> 464</pre>
465 465
466<!-- TODO When handbook goes life, comment out this parts until the mirrors have 466<!-- TODO Getbinpkg isn't available yet; don't forget to remove the space
467 been updated with online GRP packages. --> 467 between - - when uncommented!
468
468<p> 469<p>
469If you don't have the prebuilt package on your system yet, you can have 470If you don't have the prebuilt package on your system yet, you can have
470<c>emerge</c> download it from a mirror, defined in the <c>PORTAGE_BINHOST</c> 471<c>emerge</c> download it from a mirror, defined in the <c>PORTAGE_BINHOST</c>
471variable declared in <path>/etc/make.conf</path>. 472variable declared in <path>/etc/make.conf</path>.
472</p> 473</p>
473 474
474<p> 475<p>
475To download the binary package in case this package doesn't exist on 476To download the binary package in case this package doesn't exist on
476your system already, use <c>--getbinpkg</c> (<c>-g</c> in short): 477your system already, use <c>- -getbinpkg</c> (<c>-g</c> in short):
477</p> 478</p>
478 479
479<pre caption="Downloading and installing a prebuilt package for gnumeric"> 480<pre caption="Downloading and installing a prebuilt package for gnumeric">
480# <i>emerge --getbinpkg gnumeric</i> 481# <i>emerge - -getbinpkg gnumeric</i>
481</pre> 482</pre>
482 483
483<p> 484<p>
484This will download the package and the package-related information for you and 485This will download the package and the package-related information for you and
485install it on your system, together with the dependencies. If you want to see 486install it on your system, together with the dependencies. If you want to see
486what dependencies will be installed with it, use the <c>--pretend</c> option 487what dependencies will be installed with it, use the <c>- -pretend</c> option
487(<c>-p</c> in short): 488(<c>-p</c> in short):
488</p> 489</p>
489 490
490<pre caption="Pretending to download the prebuilt packages for gnumeric"> 491<pre caption="Pretending to download the prebuilt packages for gnumeric">
491# <i>emerge --getbinpkg --pretend gnumeric</i> 492# <i>emerge - -getbinpkg - -pretend gnumeric</i>
492</pre> 493</pre>
493 494
494<p> 495<p>
495You can also opt to download the prebuilt package (and the package-related 496You can also opt to download the prebuilt package (and the package-related
496information) <e>without</e> checking the information on your local system and 497information) <e>without</e> checking the information on your local system and
497<e>without</e> using the prebuilt package already on your system (if 498<e>without</e> using the prebuilt package already on your system (if
498applicable), use the <c>--getbinpkgonly</c> option (<c>-G</c> in short): 499applicable), use the <c>- -getbinpkgonly</c> option (<c>-G</c> in short):
499</p> 500</p>
500 501
501<pre caption="Installing a prebuilt package without using local information"> 502<pre caption="Installing a prebuilt package without using local information">
502# <i>emerge --getbinpkgonly gnumeric</i> 503# <i>emerge - -getbinpkgonly gnumeric</i>
503</pre> 504</pre>
504 505
505<!-- TODO Up until here --> 506TODO Up until here -->
506 507
507<p> 508<p>
508You can also opt to install a specific version of a package. 509You can also opt to install a specific version of a package.
509For instance, if you want to install a gnumeric version older than 1.2 -- for 510For instance, if you want to install a gnumeric version older than 1.2 -- for
510any reason whatsoever :) you would type: 511any reason whatsoever :) you would type:

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

  ViewVC Help
Powered by ViewVC 1.1.20