Last active
August 2, 2022 18:59
-
-
Save lukearmstrong/3987736 to your computer and use it in GitHub Desktop.
Install node.js from source on CentOS/RHEL
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
yum install gcc-c++ make openssl-devel python26 | |
cd /usr/local/src/ | |
wget http://nodejs.org/dist/v0.10.28/node-v0.10.28.tar.gz | |
tar zxvf node-v0.10.28.tar.gz | |
cd node-v0.10.28/ | |
export PYTHON=/usr/bin/python26 | |
$PYTHON ./configure | |
make | |
make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment