I’m not sure if node.js 18 supports centos 7 and is it a requirement to install python 3 for node.js 18?
3
Step 1 – curl --silent --location https://rpm.nodesource.com/setup_18.x | sudo bash -
curl --silent --location https://rpm.nodesource.com/setup_18.x | sudo bash -
Step 2 – sudo yum -y install nodejs
sudo yum -y install nodejs
I don’t think you need Python 3.
Reference – https://computingforgeeks.com/install-node-js-on-centos-rhel-rocky-linux/
I am sure you can install NodeJS 18 on Centos7.
Regarding of the Python need. Yes you will need python installed, NodeJS use some python code. Python is required for building node from source
Starting v18, Node.js no longer supports centos 7 and a few other Linux distros due to glibc version incompatibility. See https://github.com/nodejs/node/issues/43246.
Click here to cancel reply.
3
Answers
Step 1 –
curl --silent --location https://rpm.nodesource.com/setup_18.x | sudo bash -
Step 2 –
sudo yum -y install nodejs
I don’t think you need Python 3.
Reference – https://computingforgeeks.com/install-node-js-on-centos-rhel-rocky-linux/
I am sure you can install NodeJS 18 on Centos7.
Regarding of the Python need.
Yes you will need python installed, NodeJS use some python code. Python is required for building node from source
Starting v18, Node.js no longer supports centos 7 and a few other Linux distros due to glibc version incompatibility. See https://github.com/nodejs/node/issues/43246.