distributions: CentOS 6.7 not supported

I ran https://raw.githubusercontent.com/nodesource/distributions/master/rpm/setup_4.x, and get the following result.

Your distribution, identified as “centos-release-6-7.el6.centos.12.3.x86_64”, is not currently supported, please contact NodeSource at https://github.com/nodesource/distributions/issues if you think this is incorrect or would like your distribution to be considered for support

I also tried the 6.x setup, with the same result, what’s the expected way to install node.js on this system?

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 31 (12 by maintainers)

Most upvoted comments

There appears to be some misinformation here. There are some people saying that you cannot install newer node versions on Centos 6 i386. Those comments are over a year old so maybe something changed to allow it now because I can do it using instructions one post above this.

So to install latest stable version of nodejs on CentOS v6.9 i386

yum install epel-release
yum install nodejs
node -v (which shows v0.10.xx)
yum install npm
npm cache clean -f
npm install -g n
n stable (or "n v8.8.1")

Close and re-open bash console

node -v (now shows v8.8.1)

To list versions available

n -ls 

I think you can install multiple versions and switch between just by typing n v8.x.x.

Same here on Centos 6.8:

Your distribution, identified as “centos-release-6-8.el6.centos.12.3.i686”, is not currently supported, please contact NodeSource at https://github.com/nodesource/distributions/issues if you think this is incorrect or would like your distribution to be considered for support

@Nic128 Node 12 is not compatible with CentOS 6.

Original issue has been solved, if anyone has another issue please create a new one. Closing this now.

Problem installing node 12 on centos 6. Not getting this problem with node 10 or 11.

[root@e5a4848cd862 /]# yum install -y nodejs
Loaded plugins: fastestmirror, ovl
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: mirror.layeronline.com
 * extras: mirror.calgah.com
 * updates: mirror.calgah.com
Resolving Dependencies
--> Running transaction check
---> Package nodejs.x86_64 2:12.10.0-1nodesource will be installed
--> Processing Dependency: libstdc++.so.6(CXXABI_1.3.5)(64bit) for package: 2:nodejs-12.10.0-1nodesource.x86_64
--> Processing Dependency: libc.so.6(GLIBC_2.17)(64bit) for package: 2:nodejs-12.10.0-1nodesource.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.15)(64bit) for package: 2:nodejs-12.10.0-1nodesource.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.18)(64bit) for package: 2:nodejs-12.10.0-1nodesource.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.14)(64bit) for package: 2:nodejs-12.10.0-1nodesource.x86_64
--> Finished Dependency Resolution
Error: Package: 2:nodejs-12.10.0-1nodesource.x86_64 (nodesource)
           Requires: libstdc++.so.6(GLIBCXX_3.4.14)(64bit)
Error: Package: 2:nodejs-12.10.0-1nodesource.x86_64 (nodesource)
           Requires: libstdc++.so.6(CXXABI_1.3.5)(64bit)
Error: Package: 2:nodejs-12.10.0-1nodesource.x86_64 (nodesource)
           Requires: libstdc++.so.6(GLIBCXX_3.4.15)(64bit)
Error: Package: 2:nodejs-12.10.0-1nodesource.x86_64 (nodesource)
           Requires: libstdc++.so.6(GLIBCXX_3.4.18)(64bit)
Error: Package: 2:nodejs-12.10.0-1nodesource.x86_64 (nodesource)
           Requires: libc.so.6(GLIBC_2.17)(64bit)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

Installing gcc-c++ does not help.

Solution:

Enterprise Linux (RHEL and CentOS) users may use the Node.js and npm packages from the EPEL repository. Install the appropriate epel-release RPM for your version (found on the EPEL repository homepage), then run:

sudo yum install nodejs npm --enablerepo=epel