Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've installed nodejs this way:

sudo apt-get install python-software-properties python g++ make
sudo add-apt-repository ppa:chris-lea/node.js
sudo apt-get update
sudo apt-get install nodejs

The thing is it installs node v 0.10.24. Is there there a way I can install nodejs 0.10.23 only just temporarily so I can do an easy apt-get update later so it can be once again the latest version?

Is it possible to do with with apt-get and not use other tools (like nvm or building from source)?

share|improve this question

The specific version you require is not available in the PPA to be used with apt, but it has been built and is available for download as separate files on the repository's builds list.

Just download the version+release+arch desired file and install it with dpkg -i nodejs.deb.

Don't forget that if after installing the desired version of nodejs an apt-get upgrade will update the current version to the latest version, so you will need to pin the package so that it is not updated.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.