Skip to content

Solaris 10 which package do i need

wordpress meta

title: 'Solaris 10 which package do I need'
date: '2014-05-28T05:42:02-05:00'
status: publish
permalink: /solaris-10-which-package-do-i-need
author: admin
excerpt: ''
type: post
id: 666
category:
    - Solaris
tag: []
post_format: []

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:

Example:

# 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:
        SUNWevince
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.