| 1 | <!-- The content of this document is licensed under the CC-BY-SA license --> |
1 | <!-- The content of this document is licensed under the CC-BY-SA license --> |
| 2 | <!-- See http://creativecommons.org/licenses/by-sa/1.0 --> |
2 | <!-- See http://creativecommons.org/licenses/by-sa/1.0 --> |
| 3 | |
3 | |
| 4 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-system.xml,v 1.13 2003/11/23 14:21:50 swift Exp $ --> |
4 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-system.xml,v 1.14 2003/11/23 16:27:02 swift Exp $ --> |
| 5 | |
5 | |
| 6 | <sections> |
6 | <sections> |
| 7 | <section> |
7 | <section> |
| 8 | <title>Chrooting</title> |
8 | <title>Chrooting</title> |
| 9 | <subsection> |
9 | <subsection> |
| … | |
… | |
| 96 | # <i>emerge sync</i> |
96 | # <i>emerge sync</i> |
| 97 | </pre> |
97 | </pre> |
| 98 | |
98 | |
| 99 | <p> |
99 | <p> |
| 100 | If you are warned that a new Portage version is available and that you should |
100 | If you are warned that a new Portage version is available and that you should |
| 101 | update Portage, run <c>emerge -u portage</c> to get your Portage up to date: |
101 | update Portage, run <c>emerge --update portage</c> to get your Portage up to |
|
|
102 | date: |
| 102 | </p> |
103 | </p> |
| 103 | |
104 | |
| 104 | <pre caption="Updating Portage"> |
105 | <pre caption="Updating Portage"> |
| 105 | # <i>emerge -u portage</i> |
106 | # <i>emerge --update portage</i> |
| 106 | </pre> |
107 | </pre> |
| 107 | |
108 | |
| 108 | </body> |
109 | </body> |
| 109 | </subsection> |
110 | </subsection> |
| 110 | <subsection> |
111 | <subsection> |
| … | |
… | |
| 295 | <title>Optional: Viewing what will be done</title> |
296 | <title>Optional: Viewing what will be done</title> |
| 296 | <body> |
297 | <body> |
| 297 | |
298 | |
| 298 | <p> |
299 | <p> |
| 299 | If you want to know what packages will be installed, execute <c>emerge |
300 | If you want to know what packages will be installed, execute <c>emerge |
| 300 | -p system</c>. This will list all packages that will be built. As this |
301 | --pretend system</c>. This will list all packages that will be built. As this |
| 301 | list is pretty big, you should also use a pager like <c>less</c> or |
302 | list is pretty big, you should also use a pager like <c>less</c> or |
| 302 | <c>more</c> to go up and down the list. |
303 | <c>more</c> to go up and down the list. |
| 303 | </p> |
304 | </p> |
| 304 | |
305 | |
| 305 | <pre caption = "View what 'emerge system' will do"> |
306 | <pre caption = "View what 'emerge system' will do"> |
| 306 | # <i>emerge -p system | less</i> |
307 | # <i>emerge --pretend system | less</i> |
| 307 | </pre> |
308 | </pre> |
| 308 | |
309 | |
| 309 | </body> |
310 | </body> |
| 310 | </subsection> |
311 | </subsection> |
| 311 | <subsection> |
312 | <subsection> |
| … | |
… | |
| 318 | open while you are building all packages) you can use the <e>-f</e> |
319 | open while you are building all packages) you can use the <e>-f</e> |
| 319 | option of <c>emerge</c> which will fetch all sources for you. |
320 | option of <c>emerge</c> which will fetch all sources for you. |
| 320 | </p> |
321 | </p> |
| 321 | |
322 | |
| 322 | <pre caption = "Fetching the sources"> |
323 | <pre caption = "Fetching the sources"> |
| 323 | # <i>emerge -f system</i> |
324 | # <i>emerge --fetchonly system</i> |
| 324 | </pre> |
325 | </pre> |
| 325 | |
326 | |
| 326 | </body> |
327 | </body> |
| 327 | </subsection> |
328 | </subsection> |
| 328 | <subsection> |
329 | <subsection> |