So, in my
make.conf I have
ACCEPT_LICENSE="@FREE" variable set up, but I still want to use some proprietary software. Best case scenario would be Portage warning that the software I'm going to install is not free and then ask for a confirmation to proceed. Is that possible?
So, in my
ACCEPT_LICENSES="-* @FREE", yet sadly need some proprietary software for school once in while. I solved this using the optional file in
package.license, where you can instruct portage to make exceptions for certain licenses on certain packages.
The format of
package.license is similar to
package.use: you supply one package per line, in the format of
category/package license. You can use
# to start comments as well.
You can also make
/etc/portage/package.license a directory, like the other configuration files in there. In that case, it will read all files inside this directory.
Using this configuration, when you try to install software with licenses not included in
@FREE, portage will complain about it. It will inform you which packages require which licenses to be accepted, which you can then add to your
- Add ACCEPT_LICENSE="-* @FREE" in the /etc/portage/make.conf
- Add ACCEPT_LICENSE="*" in the /etc/portage/env/accept_license.conf
Then you can allow specific packages you want creating a file on /etc/portage/package.env.