Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm on an OpenSolaris 5.11 server and when I asked about Django, technical support offered to use pkgin as a package manager.

[root@gpx8nnaa ~]# uname -a
SunOS 5.11 snv_89 i86pc i386 i86pc
[root@gpx8nnaa ~]# find / -name pkgin
[root@gpx8nnaa ~]#

This computer does not appear to have pkgin installed. How can I install a preferred package manager on this server?

share|improve this question
up vote 4 down vote accepted

I don't have an OpenSolaris 'server' to hand but the desktop I have handy has packagemanager (gui) and pkg (command line) installed. If you have access to packagemanager then you can add the webstack repository

gksu /usr/bin/packagemanager

    File->Manage Repositories
        Name: Webstack

This should allow you to select the Webstack repository which contains Django.

If you don't have access to a GUI then you can install Django from the command line using pkg

pfexec pkg set-authority -O webstack
pfexec pkg refresh 
pfexec pkg install Django

Note in place of pfexec if you have it setup you can use sudo or you can su to root and run the commands directly.

share|improve this answer
While correct for a real OpenSolaris system, your answer doesn't apply to the operating system used here which is a variant of the obsolete and discontinued Solaris Express Community Edition released around April 2008. The Image Packaging System you are describing wasn't integrated in that release. – jlliagre May 15 '11 at 12:50
Thanks - I've only really touched the official releases. – Iain May 16 '11 at 14:53

First, it appears you aren't really using a regular OpenSolaris distribution but kind of an old fork of it. pkgin is a pkgsrc front-end and is available on recent Joyent servers. On older ones, you should use pkg_add instead, and on even older ones using Blastwave as repository, pkg-get is the way to go.

Have a look at this page for details:

share|improve this answer

The official name of the OpenSolaris packaging system is IPS (Image Packaging System). The primary command-line tool is pkg(1). See

jilliagre is correct: Joyent do not use an official release. SmartOS is based on SXCE, which did not use IPS, but the older SVR4 package system from Solaris 10 and back. Various third-party packagers such as Blastwave wrap SVR4 with their own package managers to handle things like automatic dependency installation which are not provided by SVR4 tools.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.