Created
February 19, 2013 05:28
-
-
Save WebReflection/4983340 to your computer and use it in GitHub Desktop.
How to install node.js in Ubuntu 12.10 via terminal
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
| # Ubuntu 12.10 via VirtualBox Image | |
| # go in the user dir | |
| cd ~/ | |
| # install git CL tool and g++ | |
| sudo apt-get install git | |
| sudo apt-get install g++ | |
| # clone node.js git repo | |
| git clone git://github.com/joyent/node.git | |
| # go there and make it | |
| cd node | |
| ./configure | |
| make | |
| sudo make install | |
| # try to type | |
| node | |
| # if it's not in the /usr/sbin/node | |
| ln -s /usr/local/bin/node /usr/sbin/node | |
| # try to type again | |
| node | |
| # enjoy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment