From Gentoo Wiki
Jump to:navigation Jump to:search
This page is a translated version of the page FEATURES and the translation is 7% complete.

The FEATURES variable contains a list of Portage features that the user wants enabled on the system, effectively influencing Portage's behavior. It is set by default via /usr/share/portage/config/make.globals, but can be easily updated through /etc/portage/make.conf. Since this is an incremental variable, FEATURES values can be added without directly overriding the ones implemented through the Gentoo profile.

DATEI /etc/portage/make.confAdding keepwork to FEATURES in Portage

portageq can be used to show the active features:

user $portageq envvar FEATURES | xargs -n 1

The descriptions of the FEATURES are available in the man page for make.conf:

user $man make.conf


FEATURES is often prepended to the emerge command for e.g. keeping the build log or triggering tests:

root #FEATURES="keeptemp test" emerge -1a foobar

See also

External resources