NPM installation - No package npm available

General support questions including new installations
Post Reply
roadrunner
Posts: 1
Joined: 2017/03/12 19:51:30

NPM installation - No package npm available

Post by roadrunner » 2017/03/12 20:08:17

Have tried many different recommendations online including below. Always receiving a 'No package npm available' message. Any ideas on how to get this installed with CentOS 5? Thanks.

yum install npm
Loaded plugins: downloadonly, fastestmirror
Loading mirror speeds from cached hostfile
* base: denver.gaminghost.co
* epel: mirrors.xmission.com
* extras: mirrors.unifiedlayer.com
* updates: mirrors.xmission.com
base | 1.1 kB 00:00
epel | 3.6 kB 00:00
extras | 2.1 kB 00:00
hgdedi | 2.5 kB 00:00
updates | 1.9 kB 00:00
Excluding Packages in global exclude list
Finished
Setting up Install Process
No package npm available.
Nothing to do

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: NPM installation - No package npm available

Post by TrevorH » 2017/03/12 21:28:37

CentOS 5 is just too old to have anything as recent as node packages. In addition, it has less than 3 weeks of life left before it goes EOL. Better use a newer version instead.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply