Wednesday, February 06, 2008

Solaris Package Manager Tips


On a Solaris machine, which packages are present?

/usr/bin/pkginfo -x

Given a package name, which files are related?

/usr/sbin/pkgchk -l <package name>

Given a package name, display package information:

/usr/bin/pkginfo -l <package name>

Given a file name, display related package information:

/usr/sbin/pkgchk -l -p /usr/bin/ls