Q:

Node.js Ubuntu Installation

I am following instructions from as someone suggested on stackoverflow:

http://www.giantflyingsaucer.com/blog/?p=2284

After following all the steps when I command 
git clone https://github.com/joyent/node.git && cd node

it shows 
cloning..... 
error: RPC failed; result=56, HTTP code = 100
fatal: The remote end hung up unexpectedly

I am using Ubuntu, terminals, etc. for the very first time. Can you please suggest what to do? Is there any problem with the configuration?
Thanks in advance for bearing such a question...

A:

If you are new to using node, I would suggest instead of bothering with git just download the source straight from nodejs.org.
Choose the 0.4.11 branch, its more stable.
From there, follow these directions:
sudo apt-get install libssl-dev (may not be needed, but good idea anyways)
cd *your download dir*
tar xvf node-v0.4.11.tar.gz
cd node-v0.4.11
./configure
make
sudo make install

If that still seems to cause problems, this site allows you to quickly create an install script for node, your mileage may vary with it.

A:

As others stated above, what's included in the standard repo is quite old.
The following is a decent solution on Ubuntu 11 or higher:
sudo add-apt-repository ppa:chris-lea/node.js
sudo apt-get update
sudo apt-get install nodejs

A:

You're on Ubuntu. Is there a reason not to install the package?
sudo apt-get install nodejs

