Installing Node.js on Ubuntu 10.04 LTS is pretty straight forward.
You will want a Node.js versioning manager. Node.js has a quick release cycle, point releases happen quite frequently. A Node.js versioning manager will help you keep all of your versions isolated from each other.
As it stands today, there are four Node.js version managers. They are:
Use NVM. Seriously, it just works.
On your clean Ubuntu machine, make sure that Git is installed:
sudo apt-get install git-core
Then install NVM:
git clone git://github.com/creationix/nvm.git ~/.nvm
. ~/.nvm/nvm.sh # <------ be sure to add this line to the end of your ~./profile or ~./bashrc file
Now install all of the packages need to build Node.js:
sudo apt-get install build-essential openssl libssl-dev pkg-config
Now install the latest version of Node.js, at the time of this writing it's v0.6.9
nvm install v0.6.9
You now have a Node.js environment on your machine! Just run node
on
the command line to experiment with the Node.js REPL. You can also run
npm
to install Node.js packages. Read more about NPM
here.
If you made it this far, you should follow me on Twitter.
-JP
Want to test-drive Bitcoin without any risk? Check out my bitcoin wallet Coinbolt. It includes test coins for free.
comments powered by Disqus