May 20, 2010

Quick Tip: Install Node.js on Ubuntu Lucid Lynx

I'm playing around with coffeescript and step one is to get Node.js installed. It's actually very straight forward to do so, especially if you've already got Git installed. There's no precompiled version for Ubuntu Lucid so we actually need to checkout the code, compile it, and then install. If you need the details, feel free to click the Read On link below:


1. Update your stack
sudo apt-get update
sudo apt-get dist-upgrade

2. Install Git if you don't already have it:
sudo apt-get install git-core

3. Grab node.js from Github
git clone http://github.com/ry/node.git

4. Compile & Install!
cd node
./configure
make
sudo make install

3 comments:

  1. Short and to the point. Thanks!

    ReplyDelete
  2. This gets messy... how to uninstall?

    ReplyDelete
  3. Under linux/unix you could use stow to install, see: http://www.gnu.org/software/stow/

    ReplyDelete