How to install Node.js?

I am completely new for node.js. By reading tutorials I downloaded "node-v0.10.26".

But I don't know how to install it on ubuntu12.04?

Kind regards.

Perhaps look for a node.js mailing list???

Anyway, you can find the instructions here:

https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager#ubuntu-mint-elementary-os

I've gotten bitten by the name, too. Look for a package called nodejs, not node.

Walter

sudo add-apt-repository ppa:chris-lea/node.js

sudo apt-get update

sudo apt-get install nodejs :slight_smile:

I would make sure you add chris-lea/node.js to your repository as Orlando has in his response. The node.js they have in the standard repository is usually old (the same issue as rails). You will also need a few other things installed such as python. The link gnowoel provides above has it pretty well documented.

cd into the directory where you downloaded node then untar it.

Now run './configure' (without the quotes), then 'make', then 'sudo make install' which will install it into /usr/local.

You'll need to install 'build-essential' before you compile it:

'sudo apt-get update sudo apt-get install build-essential'

Cheers,

  Phil...

Phil Dobbin wrote in post #1140440: