Sample Header Ad - 728x90

Installing npm on Centos 7

1 vote
2 answers
2090 views
I can say I went through **all Google results regarding this**, but no one works. The GNU libc version is very old: ldd (GNU libc) 2.17. Trying version up to nodesource 8.x **all installations fails because of the old GNU libc**: Error: Package: 2:nodejs-19.9.0-1nodesource.x86_64 (nodesource) Requires: libm.so.6(GLIBC_2.27)(64bit) Error: Package: 2:nodejs-19.9.0-1nodesource.x86_64 (nodesource) Requires: libc.so.6(GLIBC_2.28)(64bit) What can I do? Would it help when I try to build node from the source with gcc-c++? Reading the requirements I doubt this will work because Centos 7 has also a very old gcc version which is not supported anymore, or am I wrong? Any hints?
Asked by Peter VARGA (1082 rep)
Jun 13, 2023, 07:32 PM
Last activity: Jan 6, 2025, 12:51 PM