Displaying License Requirements

The following example displays all packages that require you to accept the package license:

$ pkg contents -rt license -a must-accept=true -o license,pkg.name '*'
LICENSE PKG.NAME
lic_OTN install-image/solaris-auto-install
lic_OTN release/notices

You might need to specify the --accept option to install or update these packages.

Use a command such as the following example to display the license text, as described in Displaying Package Licenses. You can list multiple FMRIs.

$ pkg info -r --license install-image/solaris-auto-install