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?

More than 3 years have passed since last update.

CentOS 8にNode.js 14をインストール(AppStream)

Last updated at Posted at 2020-12-08

はじめに

Application Stream(AppStream)を利用してCentOS8にNode.js 14をインストール
参考:RHEL8のパッケージ構成 - BaseOSとApplication Stream - 赤帽エンジニアブログ
   第4章 新機能 Red Hat Enterprise Linux 8 | Red Hat Customer Portal

サポート

本手法で導入した場合、Red Hat Enterprise Linux 8 Application Streams Life Cycle - Red Hat Customer Portalより、2023-04がEOLだと思われる。
それ以降に報告された脆弱性や不具合への対応は実施されない可能性がある。
なおCentOS Linux 8が2021-12にEOLを迎えるため、それ以降の更新を受けるためにはCentOS Stream8を含めた他ディストリビューションへの移行が必要。

LOG

インストール

# cat /etc/redhat-release
CentOS Linux release 8.3.2011

# yum module install nodejs:14
... 略

各種確認

# which node
/usr/bin/node

# node -v
v14.11.0

# yum module info nodejs:14
Failed to set locale, defaulting to C.UTF-8
Last metadata expiration check: 0:02:16 ago on Tue Dec  8 10:56:12 2020.
Name             : nodejs
Stream           : 14 [e] [a]
Version          : 8030020200924204355
Context          : 30b713e6
Architecture     : x86_64
Profiles         : common [d] [i], development, minimal, s2i
Default profiles : common
Repo             : appstream
Summary          : Javascript runtime
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.
Requires         : platform:[el8]
Artifacts        : nodejs-1:14.11.0-1.module_el8.3.0+516+516d0fc0.src
                 : nodejs-1:14.11.0-1.module_el8.3.0+516+516d0fc0.x86_64
                 : nodejs-debuginfo-1:14.11.0-1.module_el8.3.0+516+516d0fc0.x86_64
                 : nodejs-debugsource-1:14.11.0-1.module_el8.3.0+516+516d0fc0.x86_64
                 : nodejs-devel-1:14.11.0-1.module_el8.3.0+516+516d0fc0.x86_64
                 : nodejs-docs-1:14.11.0-1.module_el8.3.0+516+516d0fc0.noarch
                 : nodejs-full-i18n-1:14.11.0-1.module_el8.3.0+516+516d0fc0.x86_64
                 : nodejs-nodemon-0:2.0.3-1.module_el8.3.0+402+6f8dd522.noarch
                 : nodejs-nodemon-0:2.0.3-1.module_el8.3.0+402+6f8dd522.src
                 : nodejs-packaging-0:23-3.module_el8.3.0+402+6f8dd522.noarch
                 : nodejs-packaging-0:23-3.module_el8.3.0+402+6f8dd522.src
                 : npm-1:6.14.8-1.14.11.0.1.module_el8.3.0+516+516d0fc0.x86_64

Hint: [d]efault, [e]nabled, [x]disabled, [i]nstalled, [a]ctive
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?