Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CentOS 6.7 not supported #346

Closed
havvg opened this issue Aug 22, 2016 · 31 comments
Closed

CentOS 6.7 not supported #346

havvg opened this issue Aug 22, 2016 · 31 comments

Comments

@havvg
Copy link

havvg commented Aug 22, 2016

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?

@ruben-herold
Copy link

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

@behzad-2016
Copy link

I have the same error

Your distribution, identified as "centos-release-6-8.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

@chrislea
Copy link
Contributor

chrislea commented Sep 6, 2016

Okay folks, CentOS 6 should be supported for 64bit machines so not sure what's up here.

@ruben-herold We don't support CentOS 6 on 32bit machines, sorry.

Can you let us know:

  • Exactly the command, or sequence of commands, that you are running where you see this error.
  • The output of cat /etc/redhat-release
  • Are you behind any kind of network proxy?
  • Is this in an environment we can easily reproduce (a specific AMI on AWS for example)?
  • If you just install the package directly with yum -y install https://rpm.nodesource.com/pub_4.x/el/6/x86_64/nodejs-4.5.0-1nodesource.el6.x86_64.rpm does it work?

Thanks in advance.

@behzad-2016
Copy link

Hello
Thanks for your support but I could have installed the nodejs-4.5.0-1nodesource.el6.x86_64 directly without any error , there is something wrong with this procedure
curl --silent --location https://rpm.nodesource.com/setup_4.x | bash -

Best regards
Behzad

De : Chris Lea [mailto:notifications@github.com]
Envoyé : Tuesday, September 6, 2016 06:20 PM
À : nodesource/distributions distributions@noreply.github.com
Cc : Behzad RAHIMI B.RAHIMI@olky.eu; Comment comment@noreply.github.com
Objet : Re: [nodesource/distributions] CentOS 6.7 not supported (#346)

Okay folks, CentOS 6 should be supported for 64bit machines so not sure what's up here.

@ruben-heroldhttps://github.com/ruben-herold We don't support CentOS 6 on 32bit machineshttps://github.com/nodesource/distributions/blob/master/OLDER_DISTROS.md, sorry.

Can you let us know:

Thanks in advance.


You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com//issues/346#issuecomment-245005512, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AVAhVXkp2O5kjT3bIMDtEPmCf6q5hpRBks5qnZLCgaJpZM4Jpyhz.

Behzad RAHIMI
Analyste d’exploitation
[cid:imagec1d49d.PNG@6b4a3c22.428d7623]http:// +33 (0)1 82 83 38 97
[cid:imagef14db0.PNG@2e601822.48929c15]http:// +352 671 042 998
[www.olkypay.com]http://www.olkypay.com
www.olkypay.comhttp://www.olkypay.com

[cid:image528697.GIF@78669589.489bb418]
Please consider the environment before printing this email message.

Ce message ainsi que les eventuelles pieces jointes constituent une correspondance privee et confidentielle a l'attention exclusive du destinataire designe ci-dessus. Si vous n'etes pas le destinataire du present message ou une personne susceptible de pouvoir le lui delivrer, merci d'en avertir B.RAHIMI@olky.eumailto:B.RAHIMI@olky.eu. Il vous est signifie que toute divulgation, distribution ou copie de cette transmission est strictement interdite. Si vous avez recu ce message par erreur, nous vous remercions d'en informer B.RAHIMI@olky.eumailto:B.RAHIMI@olky.eu par telephone ou de lui retourner le present message, puis d'effacer immediatement ce message de votre systeme

This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify B.RAHIMI@olky.eumailto:B.RAHIMI@olky.eu. This message contains confidential information and is intended only for the individuals named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify B.RAHIMI@olky.eumailto:B.RAHIMI@olky.eu immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited.

@chrislea
Copy link
Contributor

chrislea commented Sep 6, 2016

@behzad-2016 yes, I understand. That's why I'd also like to know the other things I mentioned like the output of cat /etc/redhat-release and if you are behind any kind of proxy.

@chrislea
Copy link
Contributor

chrislea commented Sep 6, 2016

It would also be helpful to see the complete output of

curl --silent --location https://rpm.nodesource.com/setup_4.x | bash -e -

Thanks.

@behzad-2016
Copy link

Hello
Here is the output
Redhat release CentOS release 6.8 (Final)

curl --silent --location https://rpm.nodesource.com/setup_4.x | bash -

Installing the NodeSource Node.js v4.x LTS Argon repo...

Inspecting system...

  • rpm -q --whatprovides redhat-release || rpm -q --whatprovides centos-release || rpm -q --whatprovides cloudlinux-release || rpm -q --whatprovides sl-release
  • uname -m

Confirming "el6-x86_64" is supported...

Your distribution, identified as "centos-release-6-8.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

Regards

De : Chris Lea [mailto:notifications@github.com]
Envoyé : Tuesday, September 6, 2016 06:55 PM
À : nodesource/distributions distributions@noreply.github.com
Cc : Behzad RAHIMI B.RAHIMI@olky.eu; Mention mention@noreply.github.com
Objet : Re: [nodesource/distributions] CentOS 6.7 not supported (#346)

It would also be helpful to see the complete output of

curl --silent --location https://rpm.nodesource.com/setup_4.x | bash -e -

Thanks.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com//issues/346#issuecomment-245015636, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AVAhVfzNoq7SJmxsLcRN4lh5cAIItc-Nks5qnZrNgaJpZM4Jpyhz.

Behzad RAHIMI
Analyste d’exploitation
[cid:image3570b1.PNG@e0e39292.4d862f22]http:// +33 (0)1 82 83 38 97
[cid:image5714e2.PNG@8e422e07.42b90592]http:// +352 671 042 998
[www.olkypay.com]http://www.olkypay.com
www.olkypay.comhttp://www.olkypay.com

[cid:imageddd398.GIF@b50b4603.44840432]
Please consider the environment before printing this email message.

Ce message ainsi que les eventuelles pieces jointes constituent une correspondance privee et confidentielle a l'attention exclusive du destinataire designe ci-dessus. Si vous n'etes pas le destinataire du present message ou une personne susceptible de pouvoir le lui delivrer, merci d'en avertir B.RAHIMI@olky.eumailto:B.RAHIMI@olky.eu. Il vous est signifie que toute divulgation, distribution ou copie de cette transmission est strictement interdite. Si vous avez recu ce message par erreur, nous vous remercions d'en informer B.RAHIMI@olky.eumailto:B.RAHIMI@olky.eu par telephone ou de lui retourner le present message, puis d'effacer immediatement ce message de votre systeme

This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify B.RAHIMI@olky.eumailto:B.RAHIMI@olky.eu. This message contains confidential information and is intended only for the individuals named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify B.RAHIMI@olky.eumailto:B.RAHIMI@olky.eu immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited.

@chrislea
Copy link
Contributor

chrislea commented Sep 6, 2016

Nope, please look again, you forgot the -e flag to bash.

curl --silent --location https://rpm.nodesource.com/setup_4.x | bash -e -

Also, I still need to know the output to cat /etc/redhat-release and whether you are behind some kind of network proxy.

@ruben-herold
Copy link

Why no 32bit? On the page: https://nodejs.org/en/download/package-manager/ documented:

Supported CentOS versions:

CentOS 5 (32-bit and 64-bit)
CentOS 6 (32-bit and 64-bit)
CentOS 7 (64-bit)

@chrislea
Copy link
Contributor

chrislea commented Sep 6, 2016

@ruben-herold Unfortunately it looks like the docs on the Node.js website are a little out of date. It's better to check the NodeSource distributions page to see what's actually supported.

As I noted via this link earlier, we can't provide 32bit binaries on CentOS 6 for Node >= 4.x because we don't have a compiler we can use to build it on that platform / architecture combination.

@ruben-herold
Copy link

epel provides clang 3.4.2 for centos 6 i386 if teh document you have linked is true this should be enough.

@geerlingguy
Copy link

See also: geerlingguy/ansible-role-nodejs#46 — it seems that I can get things installed on CentOS 7, as well as Ubuntu 12/14/16 (see build here: https://travis-ci.org/geerlingguy/ansible-role-nodejs/builds/158842369), but I can't get it working on CentOS 6 due to a recent change in the SSL setup for Nodesource:

Failed to validate the SSL certificate for rpm.nodesource.com:443. Make sure your managed systems have a valid CA certificate installed. If the website serving the url uses SNI you need python >= 2.7.9 on your managed machine or you can install the `urllib3`, `pyopenssl`, `ndg-httpsclient`, and `pyasn1` python modules to perform SNI verification in python >= 2.6. You can use validate_certs=False if you do not need to confirm the servers identity but this is unsafe and not recommended. Paths checked for this platform: /etc/ssl/certs, /etc/pki/ca-trust/extracted/pem, /etc/pki/tls/certs, /usr/share/ca-certificates/cacert.org, /etc/ansible

@chrislea
Copy link
Contributor

@geerlingguy That is a separate issue likely related to #353 .

@geerlingguy
Copy link

@chrislea - True, but the problem is that getting SNI working on CentOS 6 is a daunting task, and usually ends up breaking a bunch of other unrelated things...

@chrislea
Copy link
Contributor

chrislea commented Sep 20, 2016

@geerlingguy If your problem is with ansible specifically, you could compile a suitably new version of python (>= 2.7.9) and use that to run your ansible stuff. If it's the host machine itself having too ancient a version of OpenSSL, that is certainly much trickier. But unfortunately, the reality is that if anybody wants to serve things from a CDN (we do) using SSL (we do), then SNI is the option you realistically have. If you have any magic workaround you think would be doable I am all ears.

@chrislea
Copy link
Contributor

@behzad-2016 did you ever run the installer with the -e flag? I'd still like to see the output.

@jlruizmlg
Copy link

jlruizmlg commented Sep 29, 2016

Update
In my case is not supported in 32 bits.

#268

Im trying to install in Centos 6 i386 and if i run the install with the flat -e as @behzad-2016 says i take this

[root@localhost yum.repos.d]# curl --silent --location https://rpm.nodesource.com/setup_4.x | bash -e -

## Installing the NodeSource Node.js v4.x LTS Argon repo...


## Inspecting system...

+ rpm -q --whatprovides redhat-release || rpm -q --whatprovides centos-release || rpm -q --whatprovides cloudlinux-release || rpm -q --whatprovides sl-release
+ uname -m

## Confirming "el6-i386" is supported...

+ curl -sLf -o /dev/null 'https://rpm.nodesource.com/pub_4.x/el/6/i386/nodesource-release-el6-1.noarch.rpm'
[root@localhost yum.repos.d]#

But when i try to install:

[root@localhost yum.repos.d]# curl --silent --location https://rpm.nodesource.com/setup_4.x | bash -e -

## Installing the NodeSource Node.js v4.x LTS Argon repo...


## Inspecting system...

+ rpm -q --whatprovides redhat-release || rpm -q --whatprovides centos-release || rpm -q --whatprovides cloudlinux-release || rpm -q --whatprovides sl-release
+ uname -m

## Confirming "el6-i386" is supported...

+ curl -sLf -o /dev/null 'https://rpm.nodesource.com/pub_4.x/el/6/i386/nodesource-release-el6-1.noarch.rpm'
[root@localhost yum.repos.d]# curl --silent --location https://rpm.nodesource.com/setup_4.x | bash -

## Installing the NodeSource Node.js v4.x LTS Argon repo...


## Inspecting system...

+ rpm -q --whatprovides redhat-release || rpm -q --whatprovides centos-release || rpm -q --whatprovides cloudlinux-release || rpm -q --whatprovides sl-release
+ uname -m

## Confirming "el6-i386" is supported...

+ curl -sLf -o /dev/null 'https://rpm.nodesource.com/pub_4.x/el/6/i386/nodesource-release-el6-1.noarch.rpm'

## 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

[root@localhost yum.repos.d]#

Look like this rpm https://rpm.nodesource.com/pub_4.x/el/6/i386/nodesource-release-el6-1.noarch.rpm don't exist.

Any idea? i will appreciate.
Thanks!

@chrislea
Copy link
Contributor

@jlruizmlg Unfortunately we don't support 32bit CentOS 6 as we don't have available compilers to build Node.JS >= 4.x on that platform.

@jlruizmlg
Copy link

hi @chrislea also when i try to install in Centos 5 i don't found either

https://nodejs.org/en/download/package-manager/#enterprise-linux-and-fedora

Available architectures:

i386 (32-bit, not available for EL7)
x86_64 (64-bit)
Supported Red Hat® Enterprise Linux® versions:

RHEL 5 (32-bit and 64-bit)
RHEL 6 (32-bit and 64-bit)
RHEL 7 (64-bit)
Supported CentOS versions:

CentOS 5 (32-bit and 64-bit)
CentOS 6 (32-bit and 64-bit)
CentOS 7 (64-bit)
Supported CloudLinux versions:

@chrislea
Copy link
Contributor

@jlruizmlg CentOS 5 is only supported for Node 0.10.x (which itself is about to become unsupported).

https://github.com/nodesource/distributions/#rpm

It's hard to support these very old distributions because the compilers they ship with are too old to build a modern V8.

@jlruizmlg
Copy link

@chrislea thanks for the info!

@admtiagonogueira
Copy link

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

@geerlingguy
Copy link

@admtiagonogueira - Unfortunately, the releases in EPEL for 6.x are pretty ancient; I think it's 0.10.x.

@TimurKhasanov72
Copy link

Hi! i have the same problem with "centos-release-6-8.el6.centos.12.3.x86_64". It isn't supported.
I try to use (with both bash - and bash -e -):

curl -x user:password@link:port -k -sL https://rpm.nodesource.com/setup_6.x | bash -

cat /etc/redhat-release

CentOS release 6.8 (Final)

Maybe there is problem with my proxy-server?

@chrislea
Copy link
Contributor

chrislea commented Mar 6, 2017

@TimurKhasanov72 it's possible there's an issue with your proxy but it's impossible to say without knowing more about your specific configuration. What's the output when you try to run the setup script?

@ThuThreeFour
Copy link

ThuThreeFour commented Mar 8, 2017

I ran into the same issue by following different tutorials. I would get this error:

Your distribution, identified as "centos-release-6-8.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

This worked for me:

// for CentOS use the EPEL (Extra Packages for Enterprise Linux) repository in order to install Node.js
$ sudo yum install epel-release

// now install Node.js and npm; you will need to type "y/N" when it prompts you during the installation
$ sudo yum install nodejs
$ sudo yum install npm

// check versions by running
$ node --version
$ npm -version

If you want to upgrade:
$ sudo npm cache clean -f
$ sudo npm install -g n
// you can replace "stable" with the node version "sudo n 6.2.2"
$ sudo n stable

(side note: I configured my proxy env variables before starting the installation)

@mghayour
Copy link

mghayour commented Jul 8, 2017

image

same Error for setup_6.x, setup_4.x

also i get this for setup_8.x
image

but yum install -y nodejs still not working
image

and this is that address that have 404 ERROR
http://rpm.nodesource.com/pub_8.x/el/6/i386/repodata/repomd.xml

@ghost
Copy link

ghost commented Oct 28, 2017

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.

@ivnnv
Copy link

ivnnv commented Jan 26, 2018

@sam123sam123's method works like a charm! Installed node 8.9.1 on a CentOS 6.8 with no issues

@Nic128
Copy link

Nic128 commented Oct 4, 2019

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.

@igsu
Copy link
Contributor

igsu commented Dec 17, 2019

@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.

@igsu igsu closed this as completed Dec 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests