Nodejs latest version on Linux Mint

7.1k Views Asked by At

http://sideshowcoder.github.io/canned/ - requires me to have nodejs version 0.10.3

I have Linux Mint 17 which runs 0.10.25. Is the latest version of nodejs not available on Linux Mint?

2

There are 2 best solutions below

0
On

nodejs updates faster than the Debian/Ubuntu repositories can keep up with. Debian is renowned for sticking with working software versions to maintain stability.

nodejs.org provides simple instructions to install the latest versions using some very simple commands

https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions

curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash - sudo apt-get install -y nodejs

Alternatively, for Node.js v7:

curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash - sudo apt-get install -y nodejs Optional: install build tools To compile and install native addons from npm you may also need to install build tools:

sudo apt-get install -y build-essential

This method will uninstall the nodejs-legacy package which was a symlink from node -> nodejs.

4
On

This is a bit of a strange versioning case as 0.10.25 is newer than 0.10.3, but 0.10.30 would be the newest of them all.

The latest version of Node is 0.10.33. Instructions for installing the latest version of Ubuntu 14.04 is here 'How To Install Using a PPA' header.