Instruction on how to install NodeJS in Ubuntu 12.10 64bit Server
Note: Line 2 is required if you encountered an error "Command Not Found" on Line 3.
Note: Line 2 is required if you encountered an error "Command Not Found" on Line 3.
Line 1: sudo apt-get install python-software-properties python g++ make
Line 2: sudo apt-get install software-properties-common
Line 3: sudo add-apt-repository ppa:chris-lea/node.js
You are about to add the following PPA to your system:Evented I/O for V8 javascript. Node's goal is to provide an easy way to build scalable network programs
More info: https://launchpad.net/~chris-lea/+archive/node.js
Press [ENTER] to continue or ctrl-c to cancel adding it
gpg: keyring `/tmp/tmp2xgu27/secring.gpg' created
gpg: keyring `/tmp/tmp2xgu27/pubring.gpg' created
gpg: requesting key C7917B12 from hkp server keyserver.ubuntu.com
gpg: /tmp/tmp2xgu27/trustdb.gpg: trustdb created
gpg: key C7917B12: public key "Launchpad chrislea" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
OK
Line 4: sudo apt-get update
Line 5: sudo apt-get install nodejs npm
Enjoy NodeJS!!!