Cannot install newer version of nodejs in RHEL 8
Issue
- Need to install
nodejs
version newer thannodejs 10
-
Only
nodejs 10
can be installed when runningyum install nodejs
# yum install nodejs Updating Subscription Management repositories. Last metadata expiration check: 0:06:40 ago on Tue 02 Jan 2024 12:58:55 PM EST. Dependencies resolved. Installing: nodejs x86_64 1:10.24.0-1.module+el8.3.0+10166+b07ac28e rhel-8-for-x86_64-appstream-rpms Installing dependencies: npm x86_64 1:6.14.11-1.10.24.0.1.module+el8.3.0+10166+b07ac28e rhel-8-for-x86_64-appstream-rpms Installing weak dependencies: nodejs-full-i18n x86_64 1:10.24.0-1.module+el8.3.0+10166+b07ac28e rhel-8-for-x86_64-appstream-rpms Enabling module streams: nodejs 10
Environment
- Red Hat Enterprise Linux 8
- nodejs
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.