Displaying Package Licenses

Use the --license option to display the license texts for the matching packages. Use the -r option to display the license text for a package that is not installed.

$ pkg info -r --license install-image/solaris-auto-install
Copyright (c) 1983, 2020, Oracle and/or its affiliates.

You acknowledge that your use of this Oracle Solaris software product
is subject to, and may not exceed the use for which you are authorized,
(i) the license or cloud services terms that you accepted when you
obtained the right to use Oracle Solaris software; or (ii) the license
terms that you agreed to when you placed your Oracle Solaris software
order with Oracle; or (iii) the Oracle Solaris software license terms
included with the hardware that you acquired from Oracle; or, if (i),
(ii) or (iii) are not applicable, then, (iv) the OTN License Agreement
for Oracle Solaris (which you acknowledge you have read and agree to)
available at
https://www.oracle.com/downloads/licenses/solaris-cluster-express-license.html.
Note: Software downloaded for trial use or downloaded as replacement
media may not be used to update any unsupported software.

License information can be quite lengthy. Other information that the pkg info command shows when the --license option is not specified is not displayed. See Displaying License Requirements to list packages that require you to accept their license.