Go to main content

Managing Devices in Oracle® Solaris 11.4

Exit Print View

Updated: November 2020
 
 

How to Add a Device Driver

In the Oracle Solaris 11.4 release, you use the pkg commands to add packages to the system. However, because device driver packages might still be in SVR4 (System V Release 4) package format, this procedure uses the pkgadd command instead of the pkg install command.

Before You Begin

This procedure assumes that the device has already been added to the system. If not, see How to Add a Peripheral Device.

  1. Become an administrator.

    For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.4.

  2. Place the media into the drive or download it.
  3. Install the driver.
    # pkgadd [–d] device package-name
  4. Verify that the package has been added correctly.
    # pkgchk package-name
    #

    If the package is correctly installed, the command does not return any output.

Example 7  Adding a Device Driver

This 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
#