Solved

Install Node.js on red hat system

Posted on 2013-12-05
6
959 Views
Last Modified: 2013-12-09
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
0
Comment
Question by:redkasote
  • 2
  • 2
  • 2
6 Comments
 
LVL 82

Expert Comment

by:Dave Baldwin
Comment Utility
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.
0
 

Author Comment

by:redkasote
Comment Utility
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.rpm
warning: epel-release-6-8.noarch.rpm: 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
0
 
LVL 82

Expert Comment

by:Dave Baldwin
Comment Utility
The only other way is to compile it your self.   More info here: http://nodejs.org/download/
0
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 61

Accepted Solution

by:
gheist earned 500 total points
Comment Utility
Well you're running RHEL5 and npm package is not available for that in epel repositories
Here isthe process you can try to get rpm of needed package.
http://wiki.centos.org/HowTos/RebuildSRPM
0
 
LVL 61

Expert Comment

by:gheist
Comment Utility
use EPEL source RPM... that is the easy way...
for other packages you can try centos/rhel first.
0
 

Author Comment

by:redkasote
Comment Utility
Thank you all.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now