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 gpx8nnaa.joyent.us 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?
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
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
Note in place of
pfexec
if you have it setup you can usesudo
or you cansu
to root and run the commands directly.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 usepkg_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: http://wiki.joyent.com/display/smart/Joyent+Package+Repositories
The official name of the OpenSolaris packaging system is IPS (Image Packaging System). The primary command-line tool is pkg(1). See http://hub.opensolaris.org/bin/view/Project+pkg/WebHome
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.