Node.js + NPM Install on Ubuntu 10.x

How to install node.js and NPM (node package manage) on Ubuntu 10.x

$ sudo apt-get update
$ sudo apt-get install git-core
$ sudo apt-get install build-essential openssl libssl-dev

Check if Node.js is installed

$ node -v

Make sure you have CURL installed :

$ sudo apt-get install curl

Intall NPM for node.js

curl <a href="http://npmjs.org/install.sh" title="http://npmjs.org/install.sh">http://npmjs.org/install.sh</a> | sh

Then install NPM

 npm install socket.io

Source : http://www.giantflyingsaucer.com/blog/?p=1688




Post new comment

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <c>, <cpp>, <drupal5>, <drupal6>, <java>, <javascript>, <php>, <python>, <ruby>. The supported tag styles are: <foo>, [foo].

More information about formatting options

Type the characters you see in this picture. (verify using audio)
Type the characters you see in the picture above; if you can't read them, submit the form and a new image will be generated. Not case sensitive.
Bg