Solved

Install Node.js on red hat system

Posted on 2013-12-05
6
972 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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). …
Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses

752 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