Question

Node.js 0.12 update (Ubuntu)

  • Posted February 9, 2015

How i can update node.js to v0.12? I tried run “apt-get install node”, but installed v0.10.33 Also i tried to update from PPA repo (https://launchpad.net/~onestone/+archive/ubuntu/node.js-0.12) but this package is missing.

Ubuntu 10.04 x32

Subscribe
Share

Did you ever figure out how to upgrade the version? I’m currently battling the npm version as well to install packages.

This is a pain in the neck and I think DigitalOcean should offer more support for this question - installing 0.10.* is outdated.


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

sudo sed -i 's/node /node012 /g;' /etc/apt/sources.list.d/nodesource.list

from github.com/nodesource/distributions/issues/63

I’m not aware of any Debian packages targeting 10.04 for Node 0.12. While 10.04 has security support until April 2015, there have been two more Long Term Support releases in the meantime. With Node being a fairly fast moving community, legacy support is not always there.

Your best bet is probably to use Node Version Manager instead of a packaged version.

curl https://raw.githubusercontent.com/creationix/nvm/v0.25.4/install.sh | bash
source ~/.bashrc
nvm install 0.12

I’m not aware of any Debian packages targeting 10.04 for Node 0.12. While 10.04 has security support until April 2015, there have been two more Long Term Support releases in the meantime. With Node being a fairly fast moving community, legacy support is not always there.

Your best bet is probably to use Node Version Manager instead of a packaged version.

curl https://raw.githubusercontent.com/creationix/nvm/v0.25.4/install.sh | bash
source ~/.bashrc
nvm install 0.12

I’m not aware of any Debian packages targeting 10.04 for Node 0.12. While 10.04 has security support until April 2015, there have been two more Long Term Support releases in the meantime. With Node being a fairly fast moving community, legacy support is not always there.

Your best bet is probably to use Node Version Manager instead of a packaged version.

curl https://raw.githubusercontent.com/creationix/nvm/v0.25.4/install.sh | bash
source ~/.bashrc
nvm install 0.12

I’m not aware of any Debian packages targeting 10.04 for Node 0.12. While 10.04 has security support until April 2015, there have been two more Long Term Support releases in the meantime. With Node being a fairly fast moving community, legacy support is not always there.

Your best bet is probably to use Node Version Manager instead of a packaged version.

curl https://raw.githubusercontent.com/creationix/nvm/v0.25.4/install.sh | bash
source ~/.bashrc
nvm install 0.12

Also see the answer by Luke on the SO posting. Luke talks about downloading the latest version directly from the nodejs.org web site. http://unix.stackexchange.com/questions/207591/how-to-install-latest-nodejs-on-debian-jessie

This comment has been deleted