Install & Add Software Packages in Solaris

Software packages can be install in Solaris by using pkgadd command. pkgadd transfers the contents of a software package from the distribution medium or directory to install it onto the system. Used without the -d option, pkgadd looks in the default spool directory for the package (var/spool/pkg). Used with the -s option, it writes the package to a spool directory instead of installing it.

1. To install/add package from CDROM.

# pkgadd -d /cdrom/cdrom0/Solaris_10/Product SUNWxxx

2. To install/add package to spool directory and then install.

# pkgadd -d /cdrom/cdrom0/Solaris_10/Product -s /var/spool/pkg SUNWxxx
# pkgadd SUNWxxx

You May Also Like

Leave a Reply?