Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Installing Node.js via package manager (CentOS 6.5) #8613

Closed
infolock opened this issue Oct 24, 2014 · 4 comments
Closed

Installing Node.js via package manager (CentOS 6.5) #8613

infolock opened this issue Oct 24, 2014 · 4 comments

Comments

@infolock
Copy link

Let me say first that I understand that the nodejs team doesnt' maintain the packages as is said fairly clearly with: "Note: The packages on this page are maintained and supported by their respective packagers, not the Node.js core team. Please report any issues you encounter to the package maintainer. If it turns out your issue is a bug in Node.js itself, the maintainer will report the issue upstream."

That being said, this is not so much as a bug report but a "gotcha" for anyone else that may encounter an issue while installing node/npm on Centos 6.5 (not sure about other versions).

After running curl -sL https://rpm.nodesource.com/setup | bash - and then attempting to run yum install -y nodejs, you may notice that it doesn't install. The message after installing will be: "Package nodejs-0.10.33-1nodesource.el6.x86_64.rpm is not signed"

The way I got this to install was by appending --nogpgcheck to the end of the install, which then installs both node and npm correctly.

yum install -y nodejs --nogpgcheck

You can then verify its installed by checking node/npm versions:

# node --version
v0.10.33
# npm --version
1.4.28

Hope it helps someone. Apologizes if this happens to pollute the issues queue.

@trevnorris
Copy link

@tjfontaine Know anything about the package being signed, or if there's anything we need to do (like how Windows build needs a key)?

@jasnell
Copy link
Member

jasnell commented Jun 3, 2015

@trevnorris ... should we keep this open?

@trevnorris
Copy link

No idea. This is out of my expertise.

@jasnell
Copy link
Member

jasnell commented Aug 29, 2015

Ok, going to mark this as a defer for later and close for now. This can be revisited if someone really wants to pursue it.

@jasnell jasnell closed this as completed Aug 29, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants