0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

RockyLinux OS 8にNodejs 20をインストール(AppStream)

Posted at

はじめに

Application Stream(AppStream)を利用してRockyLinux OS 8に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 8.9 (Green Obsidian)

# yum module list nodejs
Last metadata expiration check: 0:00:37 ago on Thu Nov 23 05:19:30 2023.
Rocky Linux 8 - AppStream
Name                Stream              Profiles                                          Summary
nodejs              10 [d]              common [d], development, minimal, s2i             Javascript runtime
nodejs              12                  common [d], development, minimal, s2i             Javascript runtime
nodejs              14                  common [d], development, minimal, s2i             Javascript runtime
nodejs              16                  common [d], development, minimal, s2i             Javascript runtime
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:12 ago on Thu Nov 23 05:19:30 2023.
Installed Packages
Name         : nodejs
Epoch        : 1
Version      : 20.9.0
Release      : 1.module+el8.9.0+1584+0f2e6a8b
Architecture : x86_64
Size         : 51 M
Source       : nodejs-20.9.0-1.module+el8.9.0+1584+0f2e6a8b.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.
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?