Install & Add Software Packages in Solaris

Use pkgadd to install traditional SVR4 packages on Solaris 10. Confirm the package source, architecture and release compatibility before installing.

Install from mounted media

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

Replace SUNWxxx with the actual package name and confirm the media path.

Spool a package before installation

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

The -s option copies the package into the spool directory; it does not install it. Without -d, pkgadd looks in /var/spool/pkg.

Run installation with the required administrative privileges and review dependency checks and package scripts. Solaris 11 primarily uses IPS packaging, so use its release-specific software management procedure.

Reference: Oracle: Package Commands.

You May Also Like

Leave a Reply?