The following example shows a command to copy the SUNWaudio and SUNWab2m packages from a mounted SPARC Solaris 7 CD to the default spool directory (/var/spool/pkg).
# pkgadd -d /cdrom/cdrom0/s0/Solaris_2.7/Product -s /var/spool/pkg SUNWaudio SUNWab2m Transferring <SUNWaudio> package instance Transferring <SUNWab2m> package instance |