/[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.18 Revision 1.19
1<?xml version='1.0' encoding='UTF-8'?> 1<?xml version='1.0' encoding='UTF-8'?>
2<!DOCTYPE sections SYSTEM "/dtd/book.dtd"> 2<!DOCTYPE sections SYSTEM "/dtd/book.dtd">
3 3
4<!-- The content of this document is licensed under the CC-BY-SA license --> 4<!-- The content of this document is licensed under the CC-BY-SA license -->
5<!-- See http://creativecommons.org/licenses/by-sa/1.0 --> 5<!-- See http://creativecommons.org/licenses/by-sa/1.0 -->
6 6
7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-working-portage.xml,v 1.18 2004/01/08 14:23:17 swift Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-working-portage.xml,v 1.19 2004/01/09 10:52:18 dertobi123 Exp $ -->
8 8
9<sections> 9<sections>
10<section> 10<section>
11<title>Obtaining Package Information</title> 11<title>Obtaining Package Information</title>
12<subsection> 12<subsection>
13<title>The Lord of All Tools: emerge</title> 13<title>The Lord of All Tools: emerge</title>
14<body> 14<body>
15 15
16<p> 16<p>
17The main Portage tool that most users will use is <c>emerge</c>. We have already 17The main Portage tool that most users will use is <c>emerge</c>. We have already
18used it during the Gentoo installation and in the previous chapter, but we just 18used it during the Gentoo installation and in the previous chapter, but we just
19briefly explained how to use it. This chapter will elaborate on <c>emerge</c> 19briefly explained how to use it. This chapter will elaborate on <c>emerge</c>
20and teach you how to use <c>emerge</c> to fix all your software-related needs. 20and teach you how to use <c>emerge</c> to fix all your software-related needs.
21</p> 21</p>
22 22
811</pre> 811</pre>
812 812
813<p> 813<p>
814A package is hardmasked if it is listed in 814A package is hardmasked if it is listed in
815<path>/usr/portage/profiles/package.mask</path>. If you read this file, you 815<path>/usr/portage/profiles/package.mask</path>. If you read this file, you
816will also read the reason why the package is hardmasked (it is usually added as 816will also read the reason why the package is hardmasked (it is usually added as
817a comment). If you want to install the package nevertheless (despite all the 817a comment). If you want to install the package nevertheless (despite all the
818possible warnings we could ever throw at your head about "breaking your system", 818possible warnings we could ever throw at your head about "breaking your system",
819"breaks other packages", or "badly needs testing"), create the 819"breaks other packages", or "badly needs testing"), create the
820<path>/etc/portage/package.unmask</path> file and list the package in it (use 820<path>/etc/portage/package.unmask</path> file and list the package in it (use
821the same format as is used in <path>/usr/portage/profiles/package.mask</path>). 821the same format as is used in <path>/usr/portage/profiles/package.mask</path>).
822</p> 822</p>
823 823
824<p> 824<p>
825Do <e>not</e> alter the <path>/usr/portage/profiles/package.mask</path> file as 825Do <e>not</e> alter the <path>/usr/portage/profiles/package.mask</path> file as
826all changes are undone the next time you update your Portage tree. 826all changes are undone the next time you update your Portage tree. If you want
827to hardmask a package create <path>/etc/portage/package.mask</path> and list the
828package in it (use the same format as mentioned above).
827</p> 829</p>
828 830
829<p> 831<p>
830Another trick to circumvent the "masked package" problem is to install the 832Another trick to circumvent the "masked package" problem is to install the
831package using the full path. This will ignore both the <c>ACCEPT_KEYWORD</c> 833package using the full path. This will ignore both the <c>ACCEPT_KEYWORD</c>
832settings and the <path>package.mask</path> listing. 834settings and the <path>package.mask</path> listing.
833</p> 835</p>
834 836
835<pre caption="Installing a package without checking for stadium / masking"> 837<pre caption="Installing a package without checking for stadium / masking">
836# <i>emerge /usr/portage/app-office/gnumeric/gnumeric-1.2.0.ebuild</i> 838# <i>emerge /usr/portage/app-office/gnumeric/gnumeric-1.2.0.ebuild</i>
837</pre> 839</pre>
838 840
839</body> 841</body>
840</subsection> 842</subsection>
841<subsection> 843<subsection>

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19

  ViewVC Help
Powered by ViewVC 1.1.20