Solved

Install Node.js on red hat system

Posted on 2013-12-05
6
966 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 83

Expert Comment

by:Dave Baldwin
ID: 39699314
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
ID: 39699671
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 83

Expert Comment

by:Dave Baldwin
ID: 39699724
The only other way is to compile it your self.   More info here: http://nodejs.org/download/
0
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 
LVL 62

Accepted Solution

by:
gheist earned 500 total points
ID: 39704927
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 62

Expert Comment

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

Author Comment

by:redkasote
ID: 39705893
Thank you all.
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

789 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