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.

Steps-

1. Download it from source distribution list.

https://nodejs.org/en/download/current/

or simply by using below commands on terminal.

wget https://nodejs.org/dist/v11.3.0/node-v11.3.0.tar.gz

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 makefile.in

./configure

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

make

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 https://nodejs.org/en/

10 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. تسديد قروض says:

    Hey there! Do you use Twitter? I’d like to follow you if that would be okay.
    I’m definitely enjoying your blog and look forward to new updates.

  5. تسديد قروض says:

    Hi everyone, it’s my first visit at this web page, and piece of writing is truly fruitful designed for me, keep up
    posting such content.

  6. 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!

  7. DRB says:

    Thіs text is invaluable. When can I ffind оut more?

  8. piktochart says:

    My spouse and I stumbled over here different website and thought I might as well check things
    out. I like what I see so now i am following you. Look forward to going over your web page again.

  9. Best Fortnite Gear says:

    Awesome post.

Leave a Reply

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