Solved

Install Node.js on red hat system

Posted on 2013-12-05
6
963 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
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
LVL 61

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 61

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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Problem to start Neon 20 87
Install Dell OpenManage on Ubuntu PowerEdge R410 3 44
Can't See Site After DNS Resolved 7 47
linux installs 6 49
In this tutorial I will explain how to make squid prevent malwares in five easy steps: Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. It reduces bandwidth and improves response times by caching and reusing frequently-…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
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…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

895 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

15 Experts available now in Live!

Get 1:1 Help Now