Skip to content

Solaris 10 which package do I need

In Solaris 11 package management got a lot better and is almost as good as APT in the Linux world.  In Solaris 10 not so much.  A lot of times I find myself comparing systems and trying to track down which package I need for a specific binary.  The pkgchk command can help here:


# pkgchk -l -p /usr/bin/pdftops
Pathname: /usr/bin/pdftops
Type: regular file
Expected mode: 0755
Expected owner: root
Expected group: other
Expected file size (bytes): 22316
Expected sum(1) of contents: 15618
Expected last modification: May 17 22:40:06 2012
Referenced by the following packages:
Current status: installed

And of course install from CDROM as follow.

# pkgadd -d /mnt/Solaris_10/Product/ SUNWevince

Be warned here your nightmare starts when the package management starts pointing out all the dependencies.

Published inSolaris