I have to install Node.JS on a customer’s server which runs RedHat Enterprise Linux 5 (5.3, afaik). I’m an experienced Debian and Gentoo admin, but have not worked with RedHat systems for about 10 years.
As far as I can see, there’s no official Node.JS package; therefore I’d try building from source. That’s not a problem for me, however, I need to build it with OpenSSL support, which means I need OpenSSL development libraries installed (something like the libssl-dev
package on Debian systems). Node.JS’s ./configure
cannot find it, so I guess it’s not installed by default. For OpenSSL, I guess, a package should exist.
Now:
How do I install the OpenSSL dev package? Or do I have to build it from source, too? (I could, but I guess using a package is easier.) Please note that I don’t know what the preferred package manager on RHEL is (yum
, I guess?) or how to use it. Telling me the exact commands would therefore be nice.
Or, is there a Node.JS package which I should install instead?
The server in question is managed by quite security-aware admins, so installing an RPM found in a forum or the like is not an option. (And no, they won’t install it for me, but yes, they are willing to give me root to do it.)
You want
openssl-devel
. Useyum
to install it.There is no Fedora or EPEL package for
node.js
at this point, but one is under review. See: https://bugzilla.redhat.com/show_bug.cgi?id=634911You could use this (and dependencies) as a basis for building RPMs for your system.
#yum install openssl-devel
install and try :)This is surely too late to help the original poster, but for anyone stumbling upon this topic: I've just stumbled upon a very good unofficial set of node RPMs:
http://nodejs.tchol.org/