はじめに
Application Stream(AppStream)を利用してRockyLinux OS 9にNodejs 20をインストール
サポート
本手法で導入した場合、Red Hat Enterprise Linux Application Streams Life Cycle - Red Hat Customer Portalより、2026-04がEOLだと思われる。
それ以降に報告された脆弱性や不具合への対応は実施されない可能性がある。
LOG
インストール
# cat /etc/redhat-release
Rocky Linux release 9.3 (Blue Onyx)
# yum module list nodejs
Last metadata expiration check: 0:00:38 ago on Thu Nov 23 05:27:33 2023.
Rocky Linux 9 - AppStream
Name Stream Profiles Summary
nodejs 18 common [d], development, minimal, s2i Javascript runtime
nodejs 20 common [d], development, minimal, s2i Javascript runtime
Hint: [d]efault, [e]nabled, [x]disabled, [i]nstalled
# yum module install -y nodejs:20
... 略
各種確認
# which node
/usr/bin/node
# /usr/bin/node -v
v20.9.0
# yum info nodejs
Last metadata expiration check: 0:01:14 ago on Thu Nov 23 05:27:33 2023.
Installed Packages
Name : nodejs
Epoch : 1
Version : 20.9.0
Release : 1.module+el9.3.0+15899+0a70ceb7
Architecture : x86_64
Size : 50 M
Source : nodejs-20.9.0-1.module+el9.3.0+15899+0a70ceb7.src.rpm
Repository : @System
From repo : appstream
Summary : JavaScript runtime
URL : http://nodejs.org/
License : MIT and ASL 2.0 and ISC and BSD
Description : Node.js is a platform built on Chrome's JavaScript runtime
: for easily building fast, scalable network applications.
: Node.js uses an event-driven, non-blocking I/O model that
: makes it lightweight and efficient, perfect for data-intensive
: real-time applications that run across distributed devices.