Solaris Package Management

Here are the most common commands you would use to manage your application packages in Solaris (the UNIX SVR 4 equivalent of rpms in the Red Hat world):

pkgadd – installs a package
pkgrm – removes a package
pkgchk – checks (verifies) a package (pkgchk -v or -l are more useful)
pkginfo – lists package information (pkginfo -l is more useful)

Less used commands:

pkgask – saves an answer file for multiple installs (using pkgadd -r)
pkgparam – displays package parameter values
pkgtrans – translates a package to different formats

And in a related area, patch management, use the following commands:

patchadd – install a patch
patchrm – back out (remove) a patch

Leave a Comment