Install Node Js from Ubuntu Packages

Introduction

Node.js is a JavaScript platform for general-purpose programming that allows users to build network applications quickly. By leveraging JavaScript on both the front- and back-end, development can be more consistent and designed within the same system.

Node JS is required to run the UI of the Explorer and interact with coin to fetch the data and insert the same into Mongo DB.

There are several ways to install node js

1. Binary Installation. To install Node JS from Binary  click here

2. Installation from Source Code. To install Node JS from Source Code Click Here

3. Installation from Ubuntu Packages.

we are going to install Node JS from Installation from Ubuntu Packages.

 Install Node.js with Ubuntu Package Manager

Step 1: To install Node.js, execute the following command in your terminal

Step 2: install the Node package manager

Step 3: Create a symbolic link for a node

Step 4: Check the version

 

Install Node.js with Maintained Ubuntu Packages

Step 1: Add the Node.js-maintained repositories to your Ubuntu package source list

Step 2: install Node.js with apt-get

Step 3: create a symbolic link for the node

Step 4:  Check the version

If you see the versions displayed for node and npm, you have successfully compiled Node.js with npm from Packages.

Facebook Comments