Differences

This shows you the differences between two versions of the page.

Link to this comparison view

nodejs [2013/01/25 18:25] (current)
a created
Line 1: Line 1:
 +====== Node.js ======
 +
 +===== Install Node.js on Debian Squeeze =====
 +(via https://​sekati.com/​etc/​install-nodejs-on-debian-squeeze)
 +
 +**Install dependency packages**
 +   sudo apt-get update && apt-get install git-core curl build-essential openssl libssl-dev
 +
 +**Install Node.js & NPM**
 +<​code>​
 +git clone https://​github.com/​joyent/​node.git
 +cd node
 + 
 +# 'git tag' shows all available versions: select the latest stable.
 +git checkout v0.6.8
 + 
 +# Configure seems not to find libssl by default so we give it an explicit pointer.
 +# Optionally: you can isolate node by adding --prefix=/​opt/​node
 +./configure --openssl-libpath=/​usr/​lib/​ssl
 +make
 +make test
 +sudo make install
 +node -v # it's alive!
 + 
 +# Lucky us: NPM is packaged with Node.js source so this is now installed too
 +# curl http://​npmjs.org/​install.sh | sudo sh
 +npm -v # it's alive!
 +</​code>​
  
nodejs.txt ยท Last modified: 2013/01/25 18:25 by a
CC Attribution-Noncommercial-Share Alike 4.0 International
Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0 ipv6 ready