Gentoo emerge 参数说明[2]
[入库:2006年2月23日] [更新:2007年3月24日]
emerge generates a list of packages which it expects to be installed by checking the system package list and the world file. It then compares that list to the list of packages which are actually installed; the differences are listed as unnecessary packages and then unmerged after a short timeout. WARNING: Removing some packages may cause packages which link to the removed package to stop working and complain about missing libraries. Re-emerge the complaining package to fix this issue. Note that changes in USE flags can drastically affect the output of --depclean.
--info This is a list of information to include in bug reports which aids the developers with fixing any problems you may report. Please include this information when submitting a bug report. Expanded output can be obtained with the --verbose option. --metadata Causes portage to process all the metacache files as is normally done on the tail end of an rsync update using emerge --sync. The processing creates the cache database that portage uses for pre-parsed lookups of package data. --nocolor Make sure none of the output from portage contains color. --prune (-P) WARNING: This action can remove important packages! Tries to remove all but the last version installed. Since the command currently does not handle multiple versions of the same package properly, beware! This does not check dependencies, so it may also remove packages necessary for the proper operation of your system. Use --clean instead unless you really know what you're doing. Its arguments can be ebuilds, classes, or dependencies -- see --clean above for examples. You have been warned! --regen Causes portage to check and update the dependency cache of all ebuilds in the portage tree. The cache is used to speed up searches and the building of dependency trees. This command is not recommended for rsync users as rsync updates the cache using server-side caches. If you do not know the differences between a 'rsync user' and some other user, then you are a 'rsync user' :). Rsync users should simply run emerge --sync to regenerate the cache. After a portage update, rsync users may find it convenient to run emerge --metadata to rebuild the cache as portage does at the end of a sync operation. --search (-s) Searches for matches of the supplied string in the portage tree. The --search string is a regular expression. For example, emerge --search "^kde" searches for any package that starts with "kde"; emerge --search "gcc$" searches for any package that ends with "gcc"; emerge --search "office" searches for any package that contains the word "office". If you want to search the package descriptions as well, use the --searchdesc option. --sync Initiates a portage tree update with one of the rsync.gentoo.org mirrors. Note that any changes you have made to the portage tree will be erased. Except for special circumstances, this uses rsync to do the update. See make.conf(5)'s description of PORTDIR_OVERLAY for a method to avoid deletions. --unmerge (-C) WARNING: This action can remove important packages! Removes all matching packages. This does no checking of dependencies, so it may remove packages necessary for the proper operation of your system. Its arguments can be ebuilds, classes, or dependencies -- see --clean above for examples. --config Run package specific actions needed to be executed after the emerge process has completed. This usually entails configuration file setup or other similar setups that the user may wish to run.
OPTIONS
- --ask (-a)
- Before performing the merge, display what ebuilds and tbz2s will be installed, in the same format as when using --pretend; then ask whether to continue with the merge or abort. Using --ask is more efficient than using --pretend and then executing the same command without --pretend, as dependencies will only need to be calculated once.
- --buildpkg (
本文关键:Gentoo emerge 参数说明
本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)