Portage Advanced Usage: Difference between revisions

From Elvanör's Technical Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 19: Line 19:
* --newuse will recompile packages that had their USE flags changed.
* --newuse will recompile packages that had their USE flags changed.
* --depclean will attempt to remove packages that are no longer needed as dependencies.
* --depclean will attempt to remove packages that are no longer needed as dependencies.
== Gentoolkit ==
* equery files ''ebuild_name'' will list all the files installed by the specified ebuild.


== Useful Links ==
== Useful Links ==

Revision as of 17:02, 23 January 2007

This article lists some neat things you can do with Portage/emerge.

/etc/portage directory

This directory contains important configuration files for Portage.

  • package.keywords lets you add keywords for individual packages.
  • package.use lets you add local USE flags for certain packages. To add/remove certain languages, you can use expanded USE flags:
USE="linguas_en -linguas_fr"

Portage world file

It is located in /var/lib/portage/world.

emerge options

  • --newuse will recompile packages that had their USE flags changed.
  • --depclean will attempt to remove packages that are no longer needed as dependencies.

Gentoolkit

  • equery files ebuild_name will list all the files installed by the specified ebuild.

Useful Links