This is Gentoo's testing wiki. It is a non-operational environment and its textual content is outdated.

Please visit our production wiki at https://wiki.gentoo.org

Portage tips

From Gentoo Wiki (test)
Jump to:navigation Jump to:search
This article is a stub. You can help by expanding it.
  1. To search packages using a regular expression:
    root #emerge -s '%^python$'
  2. To list all packages in a category:
    root #emerge -s '@net-ftp'
  3. Before upgrading the system, edit /var/lib/portage/world and comment out all packages you no longer want; after the upgrade, users can remove unneeded packages with the following command:
    root #emerge --ask --depclean
  4. To resume a failed build and skip the failing package:
    root #emerge --resume --skipfirst

See also