redkasote
asked on
Install Node.js on red hat system
Hello,
I need to install node.js and npm on a red hat system but having trouble when I run yum, I am getting an error stating no package found. I have looked online to see where I can get the rpm and installtions steps but havent found anything solid. can i get a step by step process to complete this task
thanks
I need to install node.js and npm on a red hat system but having trouble when I run yum, I am getting an error stating no package found. I have looked online to see where I can get the rpm and installtions steps but havent found anything solid. can i get a step by step process to complete this task
thanks
The info is on this page: https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager Look for RHEL/CentOS/Scientific Linux 6 and follow the instructions. You do have to add another repository to get Node.js. It is not in the 'standard' repositories.
ASKER
I have some dependancy issues, this process need red hat >= 6, my verserion is: Linux 2.6.18-308.24.1.el5 x86_64 x86_64 x86_64 GNU/Linux.
see the issue I ran into below:
-bash-3.2$ sudo rpm -ivh epel-release-6-8.noarch.rp m
warning: epel-release-6-8.noarch.rp m: Header V3 RSA/SHA256 signature: NOKEY, key ID 0608b895
error: Failed dependencies:
redhat-release >= 6 is needed by epel-release-6-8.noarch
rpmlib(FileDigests) <= 4.6.0-1 is needed by epel-release-6-8.noarch
rpmlib(PayloadIsXz) <= 5.2-1 is needed by epel-release-6-8.noarch
see the issue I ran into below:
-bash-3.2$ sudo rpm -ivh epel-release-6-8.noarch.rp
warning: epel-release-6-8.noarch.rp
error: Failed dependencies:
redhat-release >= 6 is needed by epel-release-6-8.noarch
rpmlib(FileDigests) <= 4.6.0-1 is needed by epel-release-6-8.noarch
rpmlib(PayloadIsXz) <= 5.2-1 is needed by epel-release-6-8.noarch
The only other way is to compile it your self. More info here: http://nodejs.org/download/
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
use EPEL source RPM... that is the easy way...
for other packages you can try centos/rhel first.
for other packages you can try centos/rhel first.
ASKER
Thank you all.