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
/etc/portage/package.license
From Gentoo Wiki (test)
Jump to:navigation
Jump to:search
The /etc/portage/package.license file contains definitions for per-package ACCEPT_LICENSE statements. Some packages will only be allowed to be installed by accepting its license. Licenses are stored in /usr/portage/licenses/.
Format and examples
- Comment lines begin with
#
(no inline comments). - One DEPEND atom per line followed by additional licenses or groups.
FILE
/etc/portage/package.license
package.license example# Accepting google-chrome license for www-client/google-chrome for version equal or greater than 42.0.2311.90_p1 >=www-client/google-chrome-42.0.2311.90_p1 google-chrome # Accepting google-chrome license for any version of www-client/google-chrome www-client/google-chrome google-chrome # Accepting google-chrome license for every www-client package at any version www-client/* google-chrome # Accepting google-chrome license for every package at any version */* google-chrome # Accepting every license for every package at any version (not a good idea) */* *