Question: How do I install the latest [node.js](https://nodejs.org) on Ubuntu? I've been looking around, and I can't find anything. Is there a Ubuntu package for `node.js`, or do I have to compile it myself?

Answer: 
I am always leery of using a non-official PPA - it usually works out, but I like there to be some level of official association between the distribution channel and the project that I am using...

Personally, this is the best bang for my buck when it comes to a resource for the many good ways to install Node - <https://gist.github.com/isaacs/579814>
[Latest Nodejs](http://gotechnies.com/install-latest-nodejs-npm-node-linux-server/)
Step 1-:

```
cd /opt/
wget https://nodejs.org/dist/v6.2.1/node-v6.2.1.tar.gz

```

Extract the tar.gz source code

```
tar -xvf node-*.tar.gz

```

Step 2-: Compile and install the nodejs.

```
cd node-v6.2.1
./configure
make
$ sudo make install

```

Note-: If you found error “make command not found”

```
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install build-essential
gcc -v
make -v

```