NODE.JS install on UBUNTU

NODE.JS install on UBUNTU

it has only 9 steps.

1- install g++ if you have not it already-> sudo apt-get install g++ curl libssl-dev apache2-utils

2- install git-core if you have not it already-> sudo apt-get install git-core

3- download latest version of node.js here

4- do -> tar -zxvf ~/Downloads/node-v0.12.5.tar.gz 

5- go to directory -> cd Downloads/node-v0.12.5/

6- configure -> sudo ./configure

7- make file -> sudo make (it takes 5-10min)

8- install now -> sudo make install

9- test it -> node –version