In the Oracle Solaris 11 release, the pkg commands are used to add packages to the system. Device driver packages might still be in SRV4 package format so the steps below use the pkgadd command instead of the pkg install command.
This procedure assumes that the device has already been added to the system. If not, see How to Add a Peripheral Device.
For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.2 .
# pkgadd [–d] device package-name
# pkgchk package-name #
If the package is correctly installed, the command generates no output.
The following example shows how to install and verify a package called XYZdrv.
# pkgadd XYZdrv (licensing messages displayed) . . . Installing XYZ Company driver as <XYZdrv> . . . Installation of <XYZdrv> was successful. # pkgchk XYZdrv #