I’m trying to get nodejs and npm installed on centos 7
So first I did
rpm -i http://dl.fedoraproject.org/pub/epel/beta/7/x86_64/epel-release-7-0.2.noarch.rpm
to get the epel repository
Then I tried yum install nodejs. Which worked.
Then I tried yum install npm. Yum returns with “npm package not found”
Will I have to build npm manually? And how should I do that?
NPM isn’t packaged for EPEL 7 yet. Give it some time, they are having to update thousands of packages already and had to wait for the CentOS release which was just a couple of days ago.
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.