Created
March 13, 2012 06:42
-
-
Save kaosf/2027291 to your computer and use it in GitHub Desktop.
How to install Node.js to local on Ubuntu 10.04 Server
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
# 2012-03-13 | |
# preparation for installation | |
sudo aptitude install build-essential libssl-dev | |
echo 'export PATH="$HOME/local/bin:$PATH"' >> .zshrc # or .bashrc | |
# installation process | |
mkdir -p $HOME/local/src # if doesn't exist yet | |
cd $HOME/local/src | |
wget http://nodejs.org/dist/v0.6.12/node-v0.6.12.tar.gz | |
tar xzf node-v0.6.12.tar.gz | |
cd node-v0.6.12 | |
./configure --prefix=$HOME/local/ | |
make | |
make install | |
node --version | |
#=> v0.6.12 | |
# ref. http://howtonode.org/how-to-install-nodejs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment