0
0

More than 1 year has passed since last update.

AlmaLinux OS 9にNodejs 18をインストール(AppStream)

Posted at

はじめに

Application Stream(AppStream)を利用してAlmaLinux OS 9にNodejs 18をインストール

サポート

本手法で導入した場合、Red Hat Enterprise Linux Application Streams Life Cycle - Red Hat Customer Portalより、2025-04がEOLだと思われる。
それ以降に報告された脆弱性や不具合への対応は実施されない可能性がある。

LOG

インストール

9.0系で出たプロダクトはモジュールではなかったが、9.1系で出たプロダクトはモジュールの模様

# cat /etc/redhat-release
AlmaLinux release 9.1 (Lime Lynx)

# yum module list nodejs
Last metadata expiration check: 0:00:44 ago on Fri Nov 18 06:46:38 2022.
AlmaLinux 9 - AppStream
Name            Stream          Profiles                                           Summary
nodejs          18 [e]          common [d] [i], development, minimal, s2i          Javascript runtime

Hint: [d]efault, [e]nabled, [x]disabled, [i]nstalled

# yum module install -y nodejs:18
... 略

各種確認

# which node
/usr/bin/node

# node -v
v18.10.0

# yum info nodejs
Last metadata expiration check: 0:02:08 ago on Fri Nov 18 06:46:38 2022.
Installed Packages
Name         : nodejs
Epoch        : 1
Version      : 18.10.0
Release      : 3.module_el9.1.0+13+d9a595ea
Architecture : x86_64
Size         : 43 M
Source       : nodejs-18.10.0-3.module_el9.1.0+13+d9a595ea.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