Skip to content

Instantly share code, notes, and snippets.

@lukearmstrong
Last active August 2, 2022 18:59
Show Gist options
  • Save lukearmstrong/3987736 to your computer and use it in GitHub Desktop.
Save lukearmstrong/3987736 to your computer and use it in GitHub Desktop.
Install node.js from source on CentOS/RHEL
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