/[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.37 Revision 1.38
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.37 2004/09/11 14:12:10 swift Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-working-portage.xml,v 1.38 2004/10/02 21:53:56 cam 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
311Now run <c>mirrorselect</c> to automatically select mirrors for you (it will 311Now run <c>mirrorselect</c> to automatically select mirrors for you (it will
312also setup Portage to use a mirror for the source code): 312also setup Portage to use a mirror for the source code):
313</p> 313</p>
314 314
315<pre caption="Running mirrorselect"> 315<pre caption="Running mirrorselect">
316# <i>mirrorselect -a -s3</i> 316# <i>mirrorselect -a -s3</i>
317</pre> 317</pre>
318 318
319</body> 319</body>
320</subsection> 320</subsection>
321<subsection> 321<subsection>
322<title>Updating Portage</title> 322<title>Updating Portage</title>
323<body> 323<body>
324 324
325<p> 325<p>
326To update Portage using rsync, simply run <c>emerge sync</c>: 326To update Portage using rsync, simply run <c>emerge --sync</c>:
327</p> 327</p>
328 328
329<pre caption="Updating Portage using emerge sync"> 329<pre caption="Updating Portage using emerge --sync">
330# <i>emerge sync</i> 330# <i>emerge --sync</i>
331</pre> 331</pre>
332 332
333<p> 333<p>
334If this fails (due to network problems, or a firewall), you can try using 334If this fails (due to network problems, or a firewall), you can try using
335<c>emerge-webrsync</c> which will download a Portage Tree snapshot using 335<c>emerge-webrsync</c> which will download a Portage Tree snapshot using
336<c>wget</c>. This also means that you can use proxies if you want. We discussed 336<c>wget</c>. This also means that you can use proxies if you want. We discussed
337how to setup your system to use proxies during the Gentoo installation. 337how to setup your system to use proxies during the Gentoo installation.
338</p> 338</p>
339 339
340<pre caption="Updating Portage using emerge-webrsync"> 340<pre caption="Updating Portage using emerge-webrsync">
341# <i>emerge-webrsync</i> 341# <i>emerge-webrsync</i>
342</pre> 342</pre>
343 343
344</body> 344</body>
345</subsection> 345</subsection>

Legend:
Removed from v.1.37  
changed lines
  Added in v.1.38

  ViewVC Help
Powered by ViewVC 1.1.20