Installing node.js on Wheezy
11 Nov 2013Here’s a quick guide to getting node.js up and running on Debian Wheezy. First of all, you’ll need all of the development tools required to build node.js on your machine.
$ sudo apt-get install python g++ make checkinstall
Next, grab the latest node.js source from their website and extract it into a local folder
$ wget -N http://nodejs.org/dist/node-latest.tar.gz
$ tar -zxvf node-latest.tar.gz
After you’ve got the source, change into the extracted folder and build node.js (the version I got was 0.10.21)
$ cd node-v0.10.21
$ ./configure
$ sudo checkinstall
A package should have now been created for you to install with dpkg. You can install it with the following command:
$ sudo dpkg -i node_*
Done!