Tim Hastings - NonHostile (because there's no need)

Weblog and collection of geeky articles.

  Home :: Who? :: Contact :: Links :: Subscribe subscribe
Sarah Parr and Andy Stagles' Wedding Day, 22nd December 2005March PicturesRyan's Christening


After reading a lot about node.js recently, I decided to give it a whirl.

Having just built a clean desktop install of Ubuntu 10.4 I had the ideal environment.

Here are the steps to get it up and running.

First, start a super user console session

    sudo -i -- and enter password to elevate privileges

Now, setup the pre-requisites for compilation and test execution:

    apt-get install g++ curl libssl-dev apache2-utils

Next, download, unpack and build:

    wget http://nodejs.org/dist/node-v0.1.96.tar.gz
    gunzip node-v0.1.96.tar.gz
    tar -xf node-v0.1.96.tar
    cd node-v0.1.96/
    ./configure
    make
    make install

Finally, to run the tests:

    make test

That's it, you're done. Happy noding!




1 comment, Linux, Thursday, May 27, 2010 19:50

Timeline Navigation for Linux posts
Sending HTTP DELETE with curl (made 4 weeks later)
How to Install Node.js on Ubuntu (this post, made Thursday, May 27, 2010 19:50)
How to Find Which Process has a File Open on Linux (made 31 weeks earlier)


Comments
You just saved me hours of apt-get fiddling. Thanks!

Posted by: David Carns on Friday, June 11, 2010 03:11

Post a Comment
Name:  Home page and email address are optional.
  Email addresses will not be displayed or spammed!
Remember these details
Email:
Home Page:
Comment:
Comments cannot contain HTML, URLs will be formatted into hyperlinks.
I reserve the right to remove any comments for any reason.