• Categories
    Category
  • Categories
    Category
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial Comments FAQ Related Articles

How to install Node.js 10 on centos7

  • 01:06 yum install -y nodejs
4762

Node.js 10 Installation on centos7

Node.js is an open source, cross-platform runtime environment for developing server-side and networking applications. Node.js applications are written in JavaScript, and can be run within the Node.js runtime on mac os, Microsoft Windows, and Linux.Node.js also provides a rich library of various JavaScript modules which simplifies the development of web applications using Node.js to a great extent.

Installation

Download the node packages. Use the Following command to download the node packages from the url.

[root@linuxhelp11 ~]# curl -sL https://rpm.nodesource.com/setup_10.x | sudo -E bash –
##Installing the NodeSource Node.js 10.x repo...
##Inspecting system...
+ rpm -q --whatprovides redhat-release || rpm -q --whatprovides centos-release || rpm -q --whatprovides cloudlinux-release || rpm -q --whatprovides sl-release
+ uname –m
.
.
.
+ rpm -qa 'node|npm' | grep -v nodesource

##Run `sudo yum install -y nodejs` to install Node.js 10.x and npm.
##You may also need development tools to build native addons:
     sudo yum install gcc-c++ make
##To install the Yarn package manager, run:
     curl -sL https://dl.yarnpkg.com/rpm/yarn.repo | sudo tee /etc/yum.repos.d/yarn.repo
     sudo yum install yarn

Install the node packages. You can use the following command to install the node packages.

[root@linuxhelp11 ~]# yum install -y nodejs
Loaded plugins: fastestmirror, langpacks
base                                                            | 3.6 kB  00:00:00     
extras                                                          | 3.4 kB  00:00:00     
nodesource                                                      | 2.5 kB  00:00:00     
updates                                                         | 3.4 kB  00:00:00     
(1/5): nodesource/x86_64/primary_db                             | 7.6 kB  00:00:01    
.
.
.
Warning: RPMDB altered outside of yum.
  Installing : 2:nodejs-10.13.0-1nodesource.x86_64                                  1/1 
  Verifying  : 2:nodejs-10.13.0-1nodesource.x86_64                                  1/1 

Installed:
  nodejs.x86_64 2:10.13.0-1nodesource                                                   

Complete!

To verify the version of the node use the Following command

[root@linuxhelp11 ~]# node -v
V10.13.0

With this The method to install Node.js 10 on centos7 comes to an end.

Tags:
noah
Author: 

Comments ( 0 )

No comments available

Add a comment

Frequently asked questions ( 5 )

Q

What is Node.js?

A

Node.js is a server side scripting based on Google’s V8 JavaScript engine

Q

What is the difference between AngularJS and Node.js?

A

Angular.JS is a web application development framework while Node.js is a runtime system.

Q

Where can you use Node.js?

A

Node.js is used to build scalable programs especially web applications which are computationally simple but are frequently accessed

Q

What are the features of Node.js?

A

Node.js is a single-threaded but highly scalable system that utilizes JavaScript as its scripting language

Q

What is callback in Node.js?

A

A callback function is called at the completion of a given task. This allows other code to be run in the meantime and prevents blocking

Related Tutorials in How to install Node.js 10 on centos7

Related Tutorials in How to install Node.js 10 on centos7

How To Install AnyDesk on Centos 7
How To Install AnyDesk on Centos 7
Apr 2, 2018
How to install Tiki Wiki CMS Groupware on CentOS 7
How to install Tiki Wiki CMS Groupware on CentOS 7
May 31, 2018
How to install PHP ImageMagick on CentOS 7
How to install PHP ImageMagick on CentOS 7
Nov 4, 2017
How to Upgrade and Downgrade the PHP Versions on CentOS 7.6
How to Upgrade and Downgrade the PHP Versions on CentOS 7.6
Jun 4, 2019
How to install Apache from Source Code on CentOS 7
How to install Apache from Source Code on CentOS 7
Oct 21, 2017
How to enable or disable repositories in CentOS
How to enable or disable repositories in CentOS
Mar 28, 2018
How to install AWStats on CentOS 7
How to install AWStats on CentOS 7
Dec 8, 2017
How to install Apache JMeter in CentOS 7
How to install Apache JMeter in CentOS 7
Mar 24, 2017

Related Forums in How to install Node.js 10 on centos7

Related Forums in How to install Node.js 10 on centos7

CentOS
connor class=
How To Completely Remove Apache package On CentOS 7.6
May 14, 2019
CentOS
ceriaimmaculate class=
setfacl : command not found
Jan 3, 2018
CentOS
mason class=
Error getting authority: Error initializing authority: Could not connect: No such file or directory (g-io-error-quark, 1)
Nov 20, 2018
CentOS
landon class=
Command to find SNMP Version
May 28, 2018
CentOS
arjitharon class=
cannot start minio service help
Mar 10, 2018
Apache tomcat
AadrikaAnshu class=
Cannot find ./catalina.sh The file is absent or does not have execute permission This file is needed to run this program
Jun 17, 2019
gitlab
caden class=
Insufficient space in download directory /var/cache/yum/x86_64/6/base/packages
Jul 22, 2019
OpenVAS
frank class=
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=stock error was 14: curl#6 - "Could not resolve host: mirrorlist.centos.org; Unknown error"
Dec 20, 2018

Related News in How to install Node.js 10 on centos7

Related News in How to install Node.js 10 on centos7

Docker friendly Alpine Linux gets hardened Node.js
Docker friendly Alpine Linux gets hardened Node.js
Apr 19, 2017
Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help David Lopez Guillen ?
Ayuda urgente instale SSL para servidor Opensuse y ahora no funciona tengo servicio web

hola segui este tutorial para tener un certificado ssl y ahora no se ve mi app en la red, espero alguien pueda ayudarme, tengo M9oodle en3.5 en un servidor open suse y ahora no funciona por favor ayuda.

https://www.linuxhelp.com/how-to-create-ssl-certificate-in-opensuse

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.