/[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.19 Revision 1.20
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.19 2004/09/24 14:00:33 swift Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-working-use.xml,v 1.20 2004/10/10 11:09:27 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
292If you have altered your USE flags and you wish to update your entire system to 292If you have altered your USE flags and you wish to update your entire system to
293use the new USE flags, you can try following the next steps to accomplish this. 293use the new USE flags, you can try following the next steps to accomplish this.
294Note however that these steps will take a long time to finish and that work is 294Note however that these steps will take a long time to finish and that work is
295on the way to adjust Portage to handle this behaviour quicker and automatically. 295on the way to adjust Portage to handle this behaviour quicker and automatically.
296</p> 296</p>
297 297
298<p> 298<p>
299First of all, rebuild your entire system using the new USE flags: 299First of all, rebuild your entire system using the new USE flags:
300</p> 300</p>
301 301
302<pre caption="Rebuilding your entire system"> 302<pre caption="Rebuilding your entire system">
303# <i>emerge --emptytree world</i> 303# <i>emerge --emptytree world</i>
304</pre> 304</pre>
305 305
306<p> 306<p>
307Next, run Portage' depclean to remove the conditional dependencies that 307Next, run Portage's depclean to remove the conditional dependencies that
308were emerged on your "old" system but that have been obsoleted by the new USE 308were emerged on your "old" system but that have been obsoleted by the new USE
309flags. 309flags.
310</p> 310</p>
311 311
312<warn> 312<warn>
313Running <c>emerge depclean</c> is a dangerous operation and should be handled 313Running <c>emerge depclean</c> is a dangerous operation and should be handled
314with care. Double-check the provided list of "obsoleted" packages to make sure 314with care. Double-check the provided list of "obsoleted" packages to make sure
315it doesn't remove packages you need. In the following example we add the 315it doesn't remove packages you need. In the following example we add the
316<c>-p</c> switch to have depclean only list the packages without removing them. 316<c>-p</c> switch to have depclean only list the packages without removing them.
317</warn> 317</warn>
318 318
319<pre caption="Removing obsoleted packages"> 319<pre caption="Removing obsoleted packages">
320# <i>emerge -p depclean</i> 320# <i>emerge -p depclean</i>
321</pre> 321</pre>
322 322

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

  ViewVC Help
Powered by ViewVC 1.1.20