![]() # Run `yum install -y nodejs` (as root) to install Node.js 6.x and npm. + rpm -qa 'node|npm' | grep -v nodesource + rpm -i -nosignature -force '/tmp/tmp.69QmXPKxPE' + rpm -q -whatprovides redhat-release || rpm -q -whatprovides centos-release || rpm -q -whatprovides cloudlinux-release || rpm -q -whatprovides sl-release Sample Output # Installing the NodeSource Node.js 6.x repo. On RHEL, CentOS and Fedora # curl -silent -location | bash. To add the repository for the latest version of Node.js v6 LTS, use the following command as root. Important: Under RHEL 5 and CentOS 5, the Node.js packages are depend on the EPEL repository, so the script will check and give instructions if incase it’s not installed. The latest version of Node.js and NPM is available from the official NodeSource Enterprise Linux, Fedora, Debian and Ubuntu binary distributions repository, which is maintained by the Nodejs website and you will need to add it to your system to be able to install the latest Nodejs and NPM packages. You can use it to build scalable network applications. Nodejs is a lightweight and efficient JavaScript platform which is built based on Chrome’s V8 JavaScript engine and NPM is a default NodeJS package manager. In this guide, we'll take a look at how you can install the latest version of Nodejs and NPM in RHEL/CentOS and Fedora distributions.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |