I am currently running V14.19.3 of nodejs on Centos 7
I found this article: https://computingforgeeks.com/install-node-js-on-centos-rhel-rocky-linux/ to update to 18
I import the repo just fine. when I do : yum -y install nodejs
I get : Package 2:nodejs-14.19.3-1nodesource.x86_64 already installed and latest version Nothing to do
how do I install 18?
more /etc/yum.repos.d/nodesource-el7.repo [nodesource] name=Node.js Packages for Enterprise Linux 7 - $basearch baseurl=https://rpm.nodesource.com/pub_18.x/el/7/$basearch failovermethod=priority enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/NODESOURCE-GPG-SIGNING-KEY-EL
[nodesource-source] name=Node.js for Enterprise Linux 7 - $basearch - Source baseurl=https://rpm.nodesource.com/pub_18.x/el/7/SRPMS failovermethod=priority enabled=0 gpgkey=file:///etc/pki/rpm-gpg/NODESOURCE-GPG-SIGNING-KEY-EL gpgcheck=1
jerry