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

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

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

Revision 1.12 Revision 1.13
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-use.xml,v 1.12 2004/04/25 13:08:09 swift Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-working-use.xml,v 1.13 2004/05/07 07:42:53 swift Exp $ -->
8 8
9<sections> 9<sections>
10<section> 10<section>
11<title>What are USE-flags?</title> 11<title>What are USE-flags?</title>
12<subsection> 12<subsection>
13<title>The ideas behind USE-flags</title> 13<title>The ideas behind USE-flags</title>
14<body> 14<body>
15 15
16<p> 16<p>
17When you are installing Gentoo (or any other distribution, or even operating 17When you are installing Gentoo (or any other distribution, or even operating
18system for that matter) you make choices depending on the environment you are 18system for that matter) you make choices depending on the environment you are
19working with. A setup for a server differs from a setup for a workstation. 19working with. A setup for a server differs from a setup for a workstation.
20A gaming workstation differs from a 3D rendering workstation. 20A gaming workstation differs from a 3D rendering workstation.
21</p> 21</p>
22 22
165Sometimes you want to set a certain USE-setting only once. Instead of editing 165Sometimes you want to set a certain USE-setting only once. Instead of editing
166<path>/etc/make.conf</path> twice (to do and undo the USE-changes) you can just 166<path>/etc/make.conf</path> twice (to do and undo the USE-changes) you can just
167declare the USE-variable as environment variable. 167declare the USE-variable as environment variable.
168</p> 168</p>
169 169
170<p> 170<p>
171As an example we will temporarily remove java from the USE-setting 171As an example we will temporarily remove java from the USE-setting
172during the installation of mozilla. 172during the installation of mozilla.
173</p> 173</p>
174 174
175<note> 175<note>
176The <c>emerge</c> command will be discussed more thoroughly in <uri 176The <c>emerge</c> command will be discussed more thoroughly in <uri
177link="?part=2&amp;chap=2">Portage and Software</uri>. 177link="?part=2&amp;chap=2">Portage and Software</uri>.
178</note> 178</note>
179 179
180<pre caption="Using USE as evironment variable"> 180<pre caption="Using USE as environment variable">
181# <i>USE="-java" emerge mozilla</i> 181# <i>USE="-java" emerge mozilla</i>
182</pre> 182</pre>
183 183
184</body> 184</body>
185</subsection> 185</subsection>
186<subsection> 186<subsection>
187<title>Inheriting USE-flags</title> 187<title>Inheriting USE-flags</title>
188<body> 188<body>
189 189
190<p> 190<p>
191Some packages don't only listen to USE-flags, but also provide USE-flags. When 191Some packages don't only listen to USE-flags, but also provide USE-flags. When
192you install such a package, the USE-flag they provide is added to your USE 192you install such a package, the USE-flag they provide is added to your USE
193setting. To view the list of packages that provide a USE-flag, check 193setting. To view the list of packages that provide a USE-flag, check
194<path>/etc/make.profile/use.defaults</path>: 194<path>/etc/make.profile/use.defaults</path>:
195</p> 195</p>

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

  ViewVC Help
Powered by ViewVC 1.1.20