|
Lines 84-90
Link Here
|
| 84 |
clean binutils\fR cleans out old versions of binutils; |
84 |
clean binutils\fR cleans out old versions of binutils; |
| 85 |
\fBemerge clean net\-www/mozilla\-0.9.9\-r2\fR cleans out that |
85 |
\fBemerge clean net\-www/mozilla\-0.9.9\-r2\fR cleans out that |
| 86 |
specific version of Mozilla. This is generally safe to use. |
86 |
specific version of Mozilla. This is generally safe to use. |
| 87 |
\fBNote that\fR clean \fBdoes not remove unslotted packages.\fR |
87 |
\fBNote that\fR clean \fBdoes not remove slotted packages.\fR |
| 88 |
.TP |
88 |
.TP |
| 89 |
\fBdepclean\fR |
89 |
\fBdepclean\fR |
| 90 |
Determines all packages installed on the system that have no |
90 |
Determines all packages installed on the system that have no |
|
Lines 146-152
Link Here
|
| 146 |
\fBsync\fR |
146 |
\fBsync\fR |
| 147 |
Initiates a portage tree update with one of the rsync.gentoo.org |
147 |
Initiates a portage tree update with one of the rsync.gentoo.org |
| 148 |
mirrors. \fBNote that any changes you have made to the portage |
148 |
mirrors. \fBNote that any changes you have made to the portage |
| 149 |
tree will be erased\fR. Except for in special circumstances, |
149 |
tree will be erased\fR. Except for special circumstances, |
| 150 |
this uses \fBrsync\fR to do the update. See make.conf's description |
150 |
this uses \fBrsync\fR to do the update. See make.conf's description |
| 151 |
of PORTDIR_OVERLAY for a method to avoid deletions. |
151 |
of PORTDIR_OVERLAY for a method to avoid deletions. |
| 152 |
.TP |
152 |
.TP |
|
Lines 169-175
Link Here
|
| 169 |
\fI${PKGDIR}\fR/All directory. |
169 |
\fI${PKGDIR}\fR/All directory. |
| 170 |
.TP |
170 |
.TP |
| 171 |
\fB\-\-columns\fR |
171 |
\fB\-\-columns\fR |
| 172 |
Used along side \fI--pretend\fR to causes the package, new version, |
172 |
Used along side \fI--pretend\fR causes the package, new version |
| 173 |
and old version to be displayed in an aligned format for easy cut\-n\-paste. |
173 |
and old version to be displayed in an aligned format for easy cut\-n\-paste. |
| 174 |
.TP |
174 |
.TP |
| 175 |
\fB\-\-debug\fR (\fB\-d\fR) |
175 |
\fB\-\-debug\fR (\fB\-d\fR) |
|
Lines 188-199
Link Here
|
| 188 |
\fB\-\-emptytree\fR (\fB\-e\fR) |
188 |
\fB\-\-emptytree\fR (\fB\-e\fR) |
| 189 |
Virtually tweaks the tree of installed packages to only contain glibc; |
189 |
Virtually tweaks the tree of installed packages to only contain glibc; |
| 190 |
this is great to use together with \-\-pretend. This allows developers |
190 |
this is great to use together with \-\-pretend. This allows developers |
| 191 |
to get a complete overview of the complete dependency tree of a package, |
191 |
to get an overview of the complete dependency tree of a package, |
| 192 |
and it enables complete trees to be rebuilt using the latest libraries. |
192 |
and it enables complete trees to be rebuilt using the latest libraries. |
| 193 |
.TP |
193 |
.TP |
| 194 |
\fB\-\-fetchonly\fR (\fB\-f\fR) |
194 |
\fB\-\-fetchonly\fR (\fB\-f\fR) |
| 195 |
Instead of doing any package building, just perform fetches for all |
195 |
Instead of doing any package building, just perform fetches for all |
| 196 |
packages (the main package as well as all dependencies.) |
196 |
packages (the main package as well as all dependencies). |
| 197 |
.TP |
197 |
.TP |
| 198 |
\fB\-\-noconfmem\fR |
198 |
\fB\-\-noconfmem\fR |
| 199 |
Causes portage to disregard merge records indicating that a config file |
199 |
Causes portage to disregard merge records indicating that a config file |
|
Lines 207-214
Link Here
|
| 207 |
the build may fail if the dependencies aren't satisfied. |
207 |
the build may fail if the dependencies aren't satisfied. |
| 208 |
.TP |
208 |
.TP |
| 209 |
\fB\-\-noreplace\fR (\fB\-n\fR) |
209 |
\fB\-\-noreplace\fR (\fB\-n\fR) |
| 210 |
Skips the packages specified on the command\-line that have already |
210 |
Skips the packages specified on the command\-line that are already |
| 211 |
been installed. Without this option, any packages, ebuilds, or deps |
211 |
installed. Without this option, any packages, ebuilds, or deps |
| 212 |
you specify on on the command\-line *will* cause Portage to remerge |
212 |
you specify on on the command\-line *will* cause Portage to remerge |
| 213 |
the package, even if it is already installed. Note that Portage will |
213 |
the package, even if it is already installed. Note that Portage will |
| 214 |
not remerge dependencies by default. |
214 |
not remerge dependencies by default. |
|
Lines 222-236
Link Here
|
| 222 |
for later updating. |
222 |
for later updating. |
| 223 |
.TP |
223 |
.TP |
| 224 |
\fB\-\-onlydeps\fR (\fB\-o\fR) |
224 |
\fB\-\-onlydeps\fR (\fB\-o\fR) |
| 225 |
Only merge (or pretend to merge) the dependencies of the packages |
225 |
Only merge (or pretend to merge) the dependencies of the specified |
| 226 |
specified, not the packages themselves. |
226 |
packages, not the packages themselves. |
| 227 |
.TP |
227 |
.TP |
| 228 |
\fB\-\-pretend\fR (\fB\-p\fR) |
228 |
\fB\-\-pretend\fR (\fB\-p\fR) |
| 229 |
Instead of actually performing the merge, simply display what *would* |
229 |
Instead of actually performing the merge, simply display what *would* |
| 230 |
have been installed if \-\-pretend weren't used. Using \-\-pretend |
230 |
have been installed if \-\-pretend weren't used. Using \-\-pretend |
| 231 |
is strongly recommended before installing an unfamiliar package. In |
231 |
is strongly recommended before installing an unfamiliar package. In |
| 232 |
the printout, N = new, U = upgrading, R = replacing, B = blocked by |
232 |
the printout, N = new, U = upgrading, R = replacing, B = blocked by |
| 233 |
an already installed package. |
233 |
an already installed package, D = the upgrade really is a downgrade |
|
|
234 |
of an installed package. |
| 234 |
.TP |
235 |
.TP |
| 235 |
\fB\-\-searchdesc\fR (\fB\-S\fR) |
236 |
\fB\-\-searchdesc\fR (\fB\-S\fR) |
| 236 |
Matches the search string against the description field as well as |
237 |
Matches the search string against the description field as well as |
|
Lines 238-250
Link Here
|
| 238 |
matched as regular expressions. |
239 |
matched as regular expressions. |
| 239 |
.TP |
240 |
.TP |
| 240 |
\fB\-\-update\fR (\fB\-u\fR) |
241 |
\fB\-\-update\fR (\fB\-u\fR) |
| 241 |
Updates packages to the most recent version available. \fBNote that\fR \-\-update \fBdoes not have full functionality yet\fR. It will not automatically update dependencies of packages in the \fBworld\fR file, unless they too are in the \fBworld\fR file. |
242 |
Updates packages, along with their dependencies, to the most recent version |
|
|
243 |
available. |
| 242 |
.TP |
244 |
.TP |
| 243 |
\fB\-\-usepkg\fR (\fB\-k\fR) |
245 |
\fB\-\-usepkg\fR (\fB\-k\fR) |
| 244 |
Tells emerge to use binary packages (from $PKGDIR) if they are available, thus possibly avoiding some time\-consuming compiles. This option is useful for CD installs; you can export PKGDIR=/mnt/cdrom/packages and then use this option to have emerge "pull" binary packages from the CD in order to satisfy dependencies. |
246 |
Tells emerge to use binary packages (from $PKGDIR) if they are available, thus possibly avoiding some time\-consuming compiles. This option is useful for CD installs; you can export PKGDIR=/mnt/cdrom/packages and then use this option to have emerge "pull" binary packages from the CD in order to satisfy dependencies. |
| 245 |
.TP |
247 |
.TP |
| 246 |
\fB\-\-verbose\fR (\fB\-v\fR) |
248 |
\fB\-\-verbose\fR (\fB\-v\fR) |
| 247 |
Tell emerge to run in verbose mode. Currently this flag causes emerge to print out GNU info errors, if any. |
249 |
Tell emerge to run in verbose mode. This flag causes emerge to print out GNU info errors, if any. |
|
|
250 |
If used in conjunction with \-\-pretend, it displays the USE variables enabled for the |
| 251 |
build process. |
| 248 |
.TP |
252 |
.TP |
| 249 |
\fB\-\-version\fR |
253 |
\fB\-\-version\fR |
| 250 |
Displays the version number of \fBemerge\fR. It cannot be used in |
254 |
Displays the version number of \fBemerge\fR. It cannot be used in |
|
Lines 252-258
Link Here
|
| 252 |
is a convention. |
256 |
is a convention. |
| 253 |
.SH "OUTPUT" |
257 |
.SH "OUTPUT" |
| 254 |
While utilizing emerge and the pretend/verbose flags, the output |
258 |
While utilizing emerge and the pretend/verbose flags, the output |
| 255 |
may be a little hard to understand for the first time. This section |
259 |
may be a little hard to understand the first time. This section |
| 256 |
exists to explain what the shorthanded information means. |
260 |
exists to explain what the shorthanded information means. |
| 257 |
.TP |
261 |
.TP |
| 258 |
.B [blocks B ] app-text/dos2unix (from pkg app-text/hd2u-0.8.0) |
262 |
.B [blocks B ] app-text/dos2unix (from pkg app-text/hd2u-0.8.0) |
|
Lines 296-301
Link Here
|
| 296 |
we see that nmap can use the \fBUSE\fR variables gtk and gnome, but that your current |
300 |
we see that nmap can use the \fBUSE\fR variables gtk and gnome, but that your current |
| 297 |
settings have gtk and gnome disabled. So optional support for gtk and gnome will |
301 |
settings have gtk and gnome disabled. So optional support for gtk and gnome will |
| 298 |
not be enabled in nmap when you emerge it. |
302 |
not be enabled in nmap when you emerge it. |
|
|
303 |
.TP |
| 304 |
.B [ebuild U ] media-video/nvidia-kernel-1.0.3123-r2 [1.0.4191-r2] |
| 305 |
If you run the command, the selected package will be installed. |
| 306 |
A newer version is already present, but the D flag is not displayed, |
| 307 |
this means that the package will be installed in a different SLOT |
| 308 |
and will peacefully coexist with the installed one. |
| 299 |
.SH "NOTES" |
309 |
.SH "NOTES" |
| 300 |
You should almost always precede any package install or update |
310 |
You should almost always precede any package install or update |
| 301 |
attempt with a \fB\-\-pretend\fR install or update. This lets |
311 |
attempt with a \fB\-\-pretend\fR install or update. This lets |
|
Lines 305-314
Link Here
|
| 305 |
update a large number of packages if the portage tree has |
315 |
update a large number of packages if the portage tree has |
| 306 |
been particularly active. |
316 |
been particularly active. |
| 307 |
.LP |
317 |
.LP |
| 308 |
You also want to typically use \fB\-\-update\fR, which ignores |
|
|
| 309 |
packages that are already fully updated but upgrades those that |
| 310 |
are not. |
| 311 |
.LP |
| 312 |
When you install a package with uninstalled dependencies and do |
318 |
When you install a package with uninstalled dependencies and do |
| 313 |
not explicitly state those dependencies in the list of parameters, |
319 |
not explicitly state those dependencies in the list of parameters, |
| 314 |
they will not be added to the world file. If you want them to be |
320 |
they will not be added to the world file. If you want them to be |
|
Lines 321-332
Link Here
|
| 321 |
flags specified on the command line are NOT remembered\fR. For |
327 |
flags specified on the command line are NOT remembered\fR. For |
| 322 |
example, \fBUSE="\-x \-gnome" emerge mc\fR will emerge mc with |
328 |
example, \fBUSE="\-x \-gnome" emerge mc\fR will emerge mc with |
| 323 |
those USE settings. |
329 |
those USE settings. |
| 324 |
.LP |
|
|
| 325 |
If \fBemerge \-\-update system\fR or \fB emerge \-\-update world\fR |
| 326 |
fail with an error message, it may be that an ebuild uses some |
| 327 |
newer feature not present in this version of \fBemerge\fR. You |
| 328 |
can use \fBemerge \-\-update portage\fR to upgrade to the lastest |
| 329 |
version, which should support any necessary new features. |
| 330 |
.SH "MASKED PACKAGES" |
330 |
.SH "MASKED PACKAGES" |
| 331 |
\fINOTE: Please use caution when using development packages. Problems |
331 |
\fINOTE: Please use caution when using development packages. Problems |
| 332 |
and bugs resulting from misusing masked packages drains Gentoo |
332 |
and bugs resulting from misusing masked packages drains Gentoo |
|
Lines 395-402
Link Here
|
| 395 |
edit this file\fR. |
395 |
edit this file\fR. |
| 396 |
.TP |
396 |
.TP |
| 397 |
\fB/etc/make.profile/use.defaults\fR |
397 |
\fB/etc/make.profile/use.defaults\fR |
| 398 |
Contains the USE flags that are enabled by default. \fBDo not edit this |
398 |
Contains packages that, if installed, cause respective USE flag to be enabled by default. |
| 399 |
file\fR. |
399 |
\fBDo not edit this file\fR. |
| 400 |
.TP |
400 |
.TP |
| 401 |
\fB/usr/portage/profiles/use.desc\fR |
401 |
\fB/usr/portage/profiles/use.desc\fR |
| 402 |
Contains the master list of USE flags with descriptions of their |
402 |
Contains the master list of USE flags with descriptions of their |