Gentoo emerge 参数说明
来源:
作者:
时间:2007-02-02
Tag:
点击:
Skips the packages specified on the command-line that have already been installed. Without this option, any packages, ebuilds, or deps you specify on the command-line *will* cause Portage to remerge the package, even if it is already installed. Note that Portage will not remerge dependencies by default.
--nospinner
Disables the spinner for the session. The spinner is active when the terminal device is determined to be a TTY. This flag disables it regardless.
--oneshot (-1)
Emerge as normal, but do not add the packages to the world profile for later updating.
--onlydeps (-o)
Only merge (or pretend to merge) the dependencies of the packages specified, not the packages themselves.
--pretend (-p)
Instead of actually performing the merge, simply display what *would* have been installed if --pretend weren't used. Using --pretend is strongly recommended before installing an unfamiliar package. In the printout,
N = new, (not yet installed)
S = new, slot installation (side-by-side versions)
U = updating, (changing versions)
D = downgrade, (Best version seems lower)
R = replacing, (Remerging same version))
F = fetch restricted, (Manual download)
f = fetch restricted, (Already downloaded)
B = blocked by an already installed package
--quiet (-q)
Results may vary, but the general outcome is a reduced or condensed output from portage's displays.
--resume
Resumes the last merge operation. Please note that this operation will only return an error on failure. If there is nothing for portage to do, then portage will exit with a message and a success condition.
--searchdesc (-S)
Matches the search string against the description field as well as the package name. Take caution as the descriptions are also matched as regular expressions.
--skipfirst
This action is only valid when used with --resume. It removes the first package in the resume list so that a merge may continue in the presence of an uncorrectable or inconsequential error. This should only be used in cases where skipping the package will not result in failed dependencies.
--tree (-t)
Shows the dependency tree for the given target by indenting dependencies. This is only really useful in combination with --emptytree or --update and --deep.
--update (-u)
Updates packages to the best version available, which may not always be the highest version number due to masking for testing and development. This will also update direct dependencies which may not be what you want. In general, use this option only in combination with the world or system target.
--upgradeonly (-U)
Updates packages, but excludes updates that would result in a lower version of the package being installed. SLOTs are considered at a basic level.
This option is deprecated and should not be used anymore. Please use the /etc/portage/package.* files from now on.
--usepkg (-k)
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.
--usepkgonly (-K)
Tells emerge to only use binary packages (from $PKGDIR). All the binary packages must be available at the time of dependency calculation or emerge will simply abort. Portage does not use $PORTDIR when calculating dependency information so all masking information is ignored.
--verbose (-v)
Tell emerge to run in verbose mode. Currently this flag causes emerge to print out GNU info errors, if any, and to show the USE flags that will be used for each package when pretending.
--version (-V)
Displays the version number of emerge. It cannot be used in conjunction with other options.