How do I update node.js on debian using dpkg

Tim Barsness

I want to make sure I’m keeping node.js up to date on my debian system since it can still be somewhat buggy. Here’s how I’ll do it:

Check the current version

node --version

Remove the node installation:

sudo dpkg -r node

Build the latest for dpkg

sudo apt-get install python g++ make checkinstall
mkdir ~/src && cd $_
wget -N http://nodejs.org/dist/node-latest.tar.gz
tar xzvf node-latest.tar.gz && cd node-v*
./configure
checkinstall #(remove the "v" in front of the version number in the dialog)
sudo dpkg -i node_*

And, of course, verify that you have the latest version installed

node --version

Last updated by on .

6 thoughts on "How do I update node.js on debian using dpkg"

  1. dildos says:

    we like to honor many other world wide web web-sites around the web, even if they arent linked to us, by linking to them. Below are some webpages really worth checking out

  2. adam & eve says:

    we prefer to honor numerous other online web-sites around the web, even if they arent linked to us, by linking to them. Beneath are some webpages worth checking out

  3. star seal says:

    that is the finish of this article. Right here you will locate some internet sites that we think youll appreciate, just click the links over

  4. always a huge fan of linking to bloggers that I enjoy but dont get a lot of link really like from

  5. usually posts some extremely exciting stuff like this. If youre new to this site

  6. we like to honor many other world-wide-web sites around the net, even if they arent linked to us, by linking to them. Under are some webpages really worth checking out

What Are Your Thoughts?

Your email address will not be published. Required fields are marked *