Solaris 8 Advanced Installation Guide

IA: To Add a Software Package With pkgadd

  1. Do you want to add individual packages to the Solaris 8 software you already installed?

    • If no, stop, you're done.

    • If yes, go to the next step.

  2. Log in to the system on which you installed the Solaris software and become superuser.

  3. Insert the CD that contains the packages you want to add into the system's CD-ROM drive.

    Solaris Volume Manager automatically mounts the CD.

  4. Use the pkgadd(1M) command to add the package or packages you want:


    # /usr/sbin/pkgadd -d device_name pkgid
    

    where device_name is the path to the CD that contains the software you want to add to the installed system and pkgid is the name of the software package you want to add to the installed system (SUNWaudio, for example).

  5. Verify that the package was installed correctly:


    # /usr/sbin/pkgchk -v pkgid
    

    If the package was installed correctly, a list of installed files is displayed. If not, an error message is displayed.

IA: Example

This example shows how to add and check the installation of the SUNWaudio package:


# /usr/sbin/pkgadd -d /cdrom/sol_8_ia/s2/Solaris_8/Product SUNWaudio.
.
.
Installation of <SUNWaudio> was successful.
# pkgchk -v SUNWaudio
/usr
/usr/bin
/usr/bin/audioconvert
/usr/bin/audioplay
/usr/bin/audiorecord
#