How to install node/nodejs using source code in ubuntu 14.04/16.04/18.04 server

Sometimes installing from ppa’s/source-lists will not be working smoothly, in that case install using source can be better and easy one option. Installation of nodejs on ubuntu or any linux flavour from source is easy. You need to just follow below steps. Steps are below.


1. Download it from source distribution list.

or simply by using below commands on terminal.


2- untar the downloaded file.

tar -xzf node-v11.3.0.tar.gz

3. move to unzipped directory

cd node-v11.3.0

4. Configure source code dependencies, To generate makefile from


5. issue make command, uses make file to build program.


6. issue make install command, uses makefile to to install program.

make install

It will complete the installation process, now you can check the node installed version using below command.

node -v

For more details you can refer to

4 Responses to How to install node/nodejs using source code in ubuntu 14.04/16.04/18.04 server

  1. แอร์ชลบุรี says:

    After looking at a number of the blog articles on your web site, I honestly like your way of writing a blog.
    I book-marked it to my bookmark webpage list and
    will be checking back in the near future. Please visit my website as well and let me know how you feel.

  2. หมอนผ้าห่มราคาถูก says:

    There is certainly a lot to know about this issue.

    I love all the points you made.

  3. หมอนผ้าห่มราคาถูก says:

    Its like you read my mind! You seem to know a lot about this, like you wrote the book in it or something.

    I think that you can do with some pics to drive the message home a
    bit, but instead of that, this is wonderful blog. An excellent read.

    I’ll certainly be back.

  4. John Darer says:

    You really make іt appear reallʏ easy along with your
    preѕentation however I find this topic to be really one tһing thɑt I believe I’d by no means understand.

    Ιt kind of feels too complicated and very
    large for me. I am taking а look forward to yoᥙr next рost, I wilⅼ try to get the hang of it!

Leave a Reply

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