Friday, March 23, 2012

Installing node.js on Ubuntu 11.10 or Ubuntu 12.04


Node.js - A server side JavaScript framework highly scalable works on the back of the giant beast V8 JavaScript Engine from Google.


Always favor to do some compiling to get the best - 


1.) Download the latest from node.js website - 

bharat@ProBook:~/node/node-v0.6.13$ wget "http://nodejs.org/dist/v0.6.13/node-v0.6.13.tar.gz"

2.) Dependencies to be resolved first - 

bharat@ProBook:~/node/node-v0.6.13$ sudo apt-get install g++ curl libssl-dev apache2-utils

3.) Unzip the downloaded item – 

tar -xvf node-v0.6.13.tar.gz

4.) Final installation - 

bharat@ProBook:~/node/$ cd node-v0.6.13

bharat@ProBook:~/node/node-v0.6.13$ ./configure

bharat@ProBook:~/node/node-v0.6.13$ make

bharat@ProBook:~/node/node-v0.6.13$ sudo make install

and its done here.
Post a Comment