Peter's Solaris Zone

Node

For convenience I've made available Solaris 10 packages (x86 only) of node.js. Building it isn't overly taxing, but getting some of the prerequisites (such as a convenient compiler) may be a little tedious.

For those interested, build notes are here.

You may find SunOS binary tarballs available on nodejs.org. They are for OpenSolaris/Illumos derivatives (SmartOS, specifically). If you're on Solaris 10 (or possibly 11), then unfortunately those binaries won't work for you but you can use the ones packaged below. If you're running OpenIndiana or Tribblix, then use the versions in their package repositories.

Note that these builds are provided as-is. They have seen minimal testing, although npm install is known to work.

Node doesn't work on SPARC, these packages are for x86 systems.

Note: Recent builds are available as 32-bit or 64-bit packages. You only need one of the packages. All older packages were 32-bit only.

Node v8:

32-bit DOWNLOAD | 64-bit DOWNLOAD

This includes Node 8.12.0, cURL 7.42.1. It's built with GCC 4.8.5 and includes the two shared libraries necessary for it to run. Uncompress the file with bunzip2, then the following as root:

pkgadd -d TRIBnode-32bit-8.12.0.0.pkg TRIBnode

or

pkgadd -d TRIBnode-64bit-8.12.0.0.pkg TRIBnode

and it will be installed into /opt/Node, and you just need to add /opt/Node/bin into your PATH.


To upgrade from one version to the next, use pkgrm TRIBnode to remove the old version and install the new version as above.

Node v6:

32-bit DOWNLOAD | 64-bit DOWNLOAD

This includes Node 6.17.1, cURL 7.42.1. It's built with GCC 4.8.5 and includes the two shared libraries necessary for it to run. Uncompress the file with bunzip2, then the following as root:

pkgadd -d TRIBnode-32bit-6.17.1.0.pkg TRIBnode

or

pkgadd -d TRIBnode-64bit-6.17.1.0.pkg TRIBnode

and it will be installed into /opt/Node, and you just need to add /opt/Node/bin into your PATH.


To upgrade from one version to the next, use pkgrm TRIBnode to remove the old version and install the new version as above.

Node v4.9.1:

32-bit DOWNLOAD | 64-bit DOWNLOAD

This includes Node 4.9.1, cURL 7.42.1. It's built with GCC 4.8.5 and includes the two shared libraries necessary for it to run. Uncompress the file with bunzip2, then the following as root:

pkgadd -d TRIBnode-32bit-4.9.1.0.pkg TRIBnode

or

pkgadd -d TRIBnode-64bit-4.9.1.0.pkg TRIBnode

and it will be installed into /opt/Node, and you just need to add /opt/Node/bin into your PATH.


To upgrade from one version to the next, use pkgrm TRIBnode to remove the old version and install the new version as above.

Node v0.12.18

DOWNLOAD

This includes Node 0.12.18, cURL 7.42.1. It's built with GCC 4.8.5 and includes the two shared libraries necessary for it to run. Uncompress the file with bunzip2, then the following as root:

pkgadd -d TRIBnode-0.12.18.0.pkg TRIBnode

and it will be installed into /opt/Node, and you just need to add /opt/Node/bin into your PATH.


To upgrade from one version to the next, use pkgrm TRIBnode to remove the old version and install the new version as above.

Node v0.10.48:

DOWNLOAD

This includes Node 0.10.48, cURL 7.42.1. It's built with GCC 4.8.5 and includes the two shared libraries necessary for it to run. Uncompress the file with bunzip2, then the following as root:

pkgadd -d TRIBnode-0.10.48.0.pkg TRIBnode

and it will be installed into /opt/Node, and you just need to add /opt/Node/bin into your PATH.


To upgrade from one version to the next, use pkgrm TRIBnode to remove the old version and install the new version as above.

Node v0.8.28:

DOWNLOAD

This includes Node 0.8.28, cURL 7.37.1. It's built with GCC 4.6.3 and includes the two shared libraries necessary for it to run. Uncompress the file with bunzip2, then the following as root:

pkgadd -d TRIBnode-0.8.28.0.pkg TRIBnode

and it will be installed into /opt/Node, and you just need to add /opt/Node/bin into your PATH.


To upgrade from one version to the next, use pkgrm TRIBnode to remove the old version and install the new version as above.

Node v0.6.21:

DOWNLOAD

This includes Node 0.6.21, cURL 7.27.0, openssl 1.0.0j, and npm. It's built with GCC 4.6.1 and includes the two shared libraries necessary for it to run. Uncompress the file with bunzip2, then the following as root:

pkgadd -d TRIBnode-0.6.21.0.pkg TRIBnode

and it will be installed into /opt/Node, and you just need to add /opt/Node/bin into your PATH.


To upgrade from one version to the next, use pkgrm TRIBnode to remove the old version and install the new version as above.


Node v0.4.12:

The last version from the 0.4 series is also available. Note that this has been deprecated.

DOWNLOAD

This includes Node 0.4.12, cURL 7.22.0, and npm. Uncompress the file with bunzip2, then:

pkgadd -d TRIBnode-0.4.12.0.pkg TRIBnode

and it will be installed into /opt/Node, and you just need to add /opt/Node/bin into your PATH.


node-kstat

I augmented node-kstat from Bryan Cantrill's original. There's the odd minor fix, I've essentially completed the list of kstats supported (including most of the raw kstats), and added methods that give the support needed by JKstat, and there's an example jkstat.js script that can run as a server under node that the JKstat client can connect to. The original version only works with node v0.10.0, it's recently been modernised for newer versions up to v10, but not for the current releases.

While it's now ancient and no longer relevant, a couple of blog entries described my early attempts to get node running on Solaris. For details see blog entry 1 and blog entry 2.


Peter's Home | Zone Home