Skip to content

Instantly share code, notes, and snippets.

@devhero
Last active August 29, 2015 14:26
Show Gist options
  • Save devhero/27b35bf53d352f787282 to your computer and use it in GitHub Desktop.
Save devhero/27b35bf53d352f787282 to your computer and use it in GitHub Desktop.
# INSTALL FROM BINARIES
wget https://nodejs.org/dist/v0.12.7/node-v0.12.7-linux-x64.tar.gz
sudo tar --strip-components 1 -xzvf node-v* -C /usr/local
# EPEL RELEASE
sudo yum install epel-release
sudo yum install nodejs
# COMPILE
wget https://nodejs.org/dist/v0.12.7/node-v0.12.7.tar.gz
tar xzvf node-v* && cd node-v*
sudo yum install gcc gcc-c++
./configure
make
sudo make install
# CHECK
node --version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment