可以使用 --license 选项显示匹配软件包的许可证文本。该文本的内容可能较为冗长。不会显示未指定 --license 选项时 pkg info 命令显示的其他信息。
$ pkg info --license osnet-incorporation You acknowledge that your use of this Oracle Solaris software product is subject to (i) the license 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 http://www.oracle.com/technetwork/licenses/solaris-cluster-express-license-167852.html. Note: Software downloaded for trial use or downloaded as replacement media may not be used to update any unsupported software.