How to keep up with the latest versions of Node.js in Ubuntu? PPA? Compiling?

João Pinto Jerónimo picture João Pinto Jerónimo · Aug 27, 2011 · Viewed 40.8k times · Source

Where can (can I ?) find .deb packages for the latest versions of Node.js ?

If not, and because it's a project that progresses very fast, what is the easiest way to keep up with the releases of Node.js ?

  • Adding some PPA and it will be updated when there's a new package ?
  • ./configure && make && ln -s ./node /usr/bin/node ?
  • Some other way you know and I can't imagine but hopefully you will share ?

Answer

Cris-O picture Cris-O · Aug 27, 2011

Most up-to-date ppa for nodejs https://launchpad.net/~chris-lea/+archive/node.js/

sudo add-apt-repository ppa:chris-lea/node.js  
sudo apt-get update  
sudo apt-get install nodejs

NOTE: If your system does not have add-apt-repository, it can be installed like so:

sudo apt-get install python-software-properties