-
-
Save soyuka/6389639 to your computer and use it in GitHub Desktop.
This file contains 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
sudo apt-get update && sudo apt-get install git-core curl build-essential openssl libssl-dev | |
git clone https://github.com/joyent/node.git | |
cd node | |
# 'git tag' shows all available versions: select the latest stable. | |
git checkout 0.10.17 | |
# Configure seems not to find libssl by default so we give it an explicit pointer. | |
# Optionally: you can isolate node by adding --prefix=/opt/node | |
./configure --openssl-libpath=/usr/lib/ssl | |
make | |
make test | |
sudo make install | |
node -v # it's alive! | |
# Luck us: NPM is packaged with Node.js source so this is now installed too | |
# curl http://npmjs.org/install.sh | sudo sh | |
npm -v # it's alive! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment