6/29/2023 0 Comments Yum install nodejs 12![]() curl -L -output n-install is download n, a Node.js version manager.Similarly, yum install -y make is to install make.The -y option tells yum to answer yes to the questions being asked during installation. yum install -y git to install git command line on the machine.In this case, the latest version of the major version will be installed. This is the magic script that will install any Node.js version you like into your Linux machine: yum install -y git yum install -y make curl -L -output n-install chmod +x n-install yes y |. ![]() If you want to install a specific version of Node.js, you need to be more involved. This method will only allow you to install the latest LTS versions, e.g. You can list the available streams using: dnf module list nodejs Where corresponds a major LTS version of Node.js, e.g. The latest Long-Term-Support (LTS) version of Node.js can be installed to RedHat-based Linux using the dnf package manager: dnf module -y install nodejs: Installing latest version of a specific Node.js stream Solutions to install any versions of Node.js on a RedHat-based Linux, including RedHat, Fedora, Oracle Linux and Centos.
0 Comments
Leave a Reply. |