Tuesday 21 January 2014

Install Node JS in Debian Squeeze

Using my debian 6.0 squeeze, i need to set node js machine.

Debian Squeeze currently don't have any package for node js. So we need to install it manually using the source code.

The node version are v0.10.24 , you can download from www.nodejs.org the source code.

The to prepare the compilation make sure you have the curl package, openssl and SSL lib.

$ sudo apt-get install curl openssl libssl-dev

Then start install node js :

$ sudo ./configure --openssl-libpath=/usr/lib/ssl
$ sudo make
$ sudo make test
$ sudo make install

$node -v  

You will get the node version. And start install node package using NPM, which is included in the source and installed already.


0 comments:

Post a Comment

Twitter Delicious Facebook Digg Stumbleupon Favorites More