Install node js amazon linux12/8/2023 ![]() Note: you may need to run using sudo depending on your environment. You can see all available versions on the NodeSource Github page, and pull from there as well if desired. You can also replace the 16.x with another version, such as 18.x, 14.x, etc. ![]() Here is another way to do it that works very well: $ curl -silent -location | bash. ![]() Like others, the accepted answer also gave me an outdated version. Most of the epel packages are maintained by Fedora repo. Epel project is not a part of RHEL/Cent OS but it is designed for major Linux distributions by providing lots of open source packages like networking, sys admin, programming, monitoring and so on. The option -enablerepo=epel causes yum to search for the packages in the EPEL repository.ĮPEL (Extra Packages for Enterprise Linux) is open source and free community based repository project from Fedora team which provides 100% high quality add-on software packages for Linux distribution including RHEL (Red Hat Enterprise Linux), CentOS, and Scientific Linux. The newer packages put the node binaries in /usr/bin, instead of /usr/local/bin. Sudo yum install nodejs -enablerepo=epel-testing ![]() This answer ( ) gives a true one-liner.ĮDIT 1: If you're looking for nodejs 4, please try the EPEL testing repo: sudo yum install nodejs -enablerepo=epel-testingĮDIT 2: To upgrade from nodejs 0.12 installed through the EPEL repo using the command above, to nodejs 4 from the EPEL testing repo, please follow these steps: sudo yum rm nodejs Putting here for posterity: sudo yum install nodejs npm -enablerepo=epelĮDIT 3: As of July 2016, EDIT 1 no longer works for nodejs 4 (and EDIT 2 neither). ![]() Stumbled onto this, was strangely hard to find again later. ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |