/[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.44 Revision 1.45
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/2.5 --> 5<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
6 6
7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-working-use.xml,v 1.44 2006/10/28 09:17:55 neysx Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-working-use.xml,v 1.45 2007/02/20 22:07:04 nightmorph Exp $ -->
8 8
9<sections> 9<sections>
10 10
11<abstract> 11<abstract>
12USE-flags are a very important aspect of Gentoo. In this chapter, you learn to 12USE-flags are a very important aspect of Gentoo. In this chapter, you learn to
13work with USE-flags and understand how USE-flags interact with your system. 13work with USE-flags and understand how USE-flags interact with your system.
14</abstract> 14</abstract>
15 15
16<version>1.35</version> 16<version>1.36</version>
17<date>2006-10-08</date> 17<date>2007-02-20</date>
18 18
19<section> 19<section>
20<title>What are USE-flags?</title> 20<title>What are USE-flags?</title>
21<subsection> 21<subsection>
22<title>The ideas behind USE-flags</title> 22<title>The ideas behind USE-flags</title>
216update) your changes will be lost! 216update) your changes will be lost!
217</p> 217</p>
218 218
219<p> 219<p>
220As an example we will temporarily remove java from the USE-setting 220As an example we will temporarily remove java from the USE-setting
221during the installation of mozilla. 221during the installation of seamonkey.
222</p> 222</p>
223 223
224<pre caption="Using USE as environment variable"> 224<pre caption="Using USE as environment variable">
225# <i>USE="-java" emerge mozilla</i> 225# <i>USE="-java" emerge seamonkey</i>
226</pre> 226</pre>
227 227
228</body> 228</body>
229</subsection> 229</subsection>
230<subsection> 230<subsection>
320<subsection> 320<subsection>
321<title>Viewing available USE-flags</title> 321<title>Viewing available USE-flags</title>
322<body> 322<body>
323 323
324<p> 324<p>
325Let us take the example of <c>mozilla</c>: what USE-flags does it listen to? To 325Let us take the example of <c>seamonkey</c>: what USE-flags does it listen to? To
326find out, we use <c>emerge</c> with the <c>--pretend</c> and <c>--verbose</c> 326find out, we use <c>emerge</c> with the <c>--pretend</c> and <c>--verbose</c>
327options: 327options:
328</p> 328</p>
329 329
330<pre caption="Viewing the used USE-flags"> 330<pre caption="Viewing the used USE-flags">
331# <i>emerge --pretend --verbose mozilla</i> 331# <i>emerge --pretend --verbose seamonkey</i>
332These are the packages that I would merge, in order: 332These are the packages that I would merge, in order:
333 333
334Calculating dependencies ...done! 334Calculating dependencies ...done!
335[ebuild R ] www-client/mozilla-1.7.12-r2 USE="crypt gnome java mozsvg ssl 335[ebuild R ] www-client/seamonkey-1.0.7 USE="crypt gnome java -debug -ipv6
336truetype xprint -debug -ipv6 -ldap -mozcalendar -mozdevelop -moznocompose 336-ldap -mozcalendar -mozdevelop -moznocompose -moznoirc -moznomail -moznopango
337-moznoirc -moznomail -moznoxft -postgres -xinerama" 0 kB 337-moznoroaming -postgres -xinerama -xprint" 0 kB
338</pre> 338</pre>
339 339
340<p> 340<p>
341<c>emerge</c> isn't the only tool for this job. In fact, we have a tool 341<c>emerge</c> isn't the only tool for this job. In fact, we have a tool
342dedicated to package information called <c>equery</c> which resides in the 342dedicated to package information called <c>equery</c> which resides in the

Legend:
Removed from v.1.44  
changed lines
  Added in v.1.45

  ViewVC Help
Powered by ViewVC 1.1.20