Log in to the installed or updated system and become superuser:
# su |
Insert the CD that contains the software you want to add to the system into the CD-ROM drive attached to the system.
Volume Manager automatically mounts the CD.
Note the directory path to the software on the CD you want to add.
Add one or more packages to the system:
# /usr/sbin/pkgadd -d device_name pkgid |
where:
device_name |
Is the directory path to the CD that contains the software you want to add to the installed system. |
pkgid |
Is the name of the software package to be added to the installed system. For example, SUNWaudio. |
When you're done, use the pkgchk(1M) command to verify that the package is installed correctly:
# /usr/sbin/pkgchk -v pkgid |
If no errors are found, pkgchk returns a list of installed files. If an error is found, pkgchk returns a message that describes the problem.
The following example shows how to use pkgadd to install the SUNWaudio package from a mounted Solaris 8 Software 1 of 2 SPARC Platform Edition CD.
The name of this product is Solaris 8 but code and path or package path names might use Solaris_2.8 or SunOS_5.8. Always follow the code or path as it is written.
# /usr/sbin/pkgadd -d /cdrom/sol_8_sparc/Solaris_8/Product SUNWaudio. . . Installation of <SUNWaudio> was successful. # pkgchk -v SUNWaudio /usr /usr/bin /usr/bin/audioconvert /usr/bin/audioplay /usr/bin/audiorecord # |