Skip to content

Instantly share code, notes, and snippets.

@j1n6
Created October 20, 2010 13:22
Show Gist options
  • Save j1n6/636386 to your computer and use it in GitHub Desktop.
Save j1n6/636386 to your computer and use it in GitHub Desktop.
# required libraries
sudo apt-get install g++ curl libssl-dev apache2-utils
# install git if needed
sudo apt-get install git-core
# checkout the latest node file
git clone http://github.com/ry/node.git
# configure the installation to ~/opt folder
cd node
mkdir ~/opt
export PREFIX=~/opt; ./configure
make
make install
# add to the environment PATH variable
echo 'export PATH=~/opt/bin:${PATH}' >> ~/.bashrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment