/[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.24 Revision 1.25
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.24 2004/03/25 23:31:34 swift Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-working-portage.xml,v 1.25 2004/05/09 10:48:51 swift 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
667 removed. 667 removed.
668 </li> 668 </li>
669</ul> 669</ul>
670 670
671<p> 671<p>
672In certain cases, an update may mean a downgrade (i.e. install an older version 672In certain cases, an update may mean a downgrade (i.e. install an older version
673instead of a newer version). If you don't want this to happen, use the 673instead of a newer version). If you don't want this to happen, use the
674<c>--upgradeonly</c> option (<c>-U</c> in short): 674<c>--upgradeonly</c> option (<c>-U</c> in short):
675</p> 675</p>
676 676
677<pre caption="Upgrading your entire system"> 677<pre caption="Upgrading your entire system">
678# <i>emerge --update --upgradeonly world</i> 678# <i>emerge --update --upgradeonly world</i>
679</pre> 679</pre>
680 680
681<p> 681<p>
682We have mentioned that the <e>world</e> file doesn't contain dependencies. When
683you run <c>emerge --update world</c> only the packages mentioned in the
684<e>world</e> file and it's immediate dependencies are checked and, if necessary,
685upgraded. If you want <c>emerge</c> to check <e>all</e> the dependencies
686(including the dependencies of the dependencies), add the <c>--deep</c> flag:
687</p>
688
689<pre caption="Upgrading your entire system, including all dependencies">
690# <i>emerge --update --deep world</i>
691</pre>
692
693<p>
682Of course, we are talking here about <e>system</e> and <e>world</e>, but you can 694Of course, we are talking here about <e>system</e> and <e>world</e>, but you can
683perform the same actions for individual software packages. 695perform the same actions for individual software packages.
684</p> 696</p>
685 697
686</body> 698</body>
687</subsection> 699</subsection>
688<subsection> 700<subsection>
689<title>Removing Software</title> 701<title>Removing Software</title>
690<body> 702<body>
691 703
692<p> 704<p>
693If you want to remove software from your system, you can use the <c>unmerge</c> 705If you want to remove software from your system, you can use the <c>unmerge</c>
694option (<c>-C</c> - capital C - in short): 706option (<c>-C</c> - capital C - in short):
695</p> 707</p>
696 708

Legend:
Removed from v.1.24  
changed lines
  Added in v.1.25

  ViewVC Help
Powered by ViewVC 1.1.20