title: last version of NodeJS install by apt-get
body: <p>Debian Linux (Debian Stable, UBUNTU LTS, etc.) and others use <code>apt-get</code>  as good and reliable installer tool. I need to use <em>only <code>apt-get</code></em>... The problem is that I do the simple </p>
  
  <pre><code>sudo apt-get install nodejs
  </code></pre>
  
  <p>but as result I have <code>nodejs --version</code> (or <code>node --version</code>)  </p>
  
  <pre><code> 0.10.41
  </code></pre>
  
  <p>(!) It is not the today's <a href="https://en.wikipedia.org/wiki/Node.js" rel="nofollow">most updated stable Node.JS version</a>, </p>
  
  <pre><code> 5.2.0
  </code></pre>
  
  <p>I also try <code>node -p process.versions.v8</code> that results in </p>
  
  <pre><code>  3.14.5.9  
  </code></pre>
  
  <p>so, also is very less than <strong>5.2</strong>. </p>
  
  <hr>
  
  <h2>NOTES</h2>
  
  <p>I am using UBUNTU 14 LTS.... And try a workaround but not works, </p>
  
  <pre><code> sudo apt-get remove --purge nodejs
   sudo apt-get remove --purge node  #enforce any lapse
  </code></pre>
  
  <p>And, as <a href="http://www.hostingadvice.com/how-to/install-nodejs-ubuntu-14-04/" rel="nofollow">this suggestion</a></p>
  
  <pre><code> curl -sL https://deb.nodesource.com/setup | sudo bash -
   sudo apt-get install nodejs
  </code></pre>
  
  <p>not works, some results.</p>