LoginSignup
0
0

More than 3 years have passed since last update.

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

Posted at

はじめに

Application Stream(AppStream)を利用してCentOS8にNode.js 10をインストール
参考:RHEL8のパッケージ構成 - BaseOSとApplication Stream - 赤帽エンジニアブログ

サポート

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

LOG

インストール

# cat /etc/redhat-release
CentOS Linux release 8.1.1911 (Core)

# yum install -y @nodejs:10
... 略

各種確認

# which node
/usr/bin/node

# node -v
v10.16.3

# yum module info nodejs:10
Failed to set locale, defaulting to C.UTF-8
Last metadata expiration check: 0:01:24 ago on Sat Jan 18 08:05:14 2020.
Name             : nodejs
Stream           : 10 [d][e][a]
Version          : 8000020191007212731
Context          : 55190bc5
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.
Artifacts        : nodejs-1:10.16.3-2.module_el8.0.0+186+542b25fc.src
                 : nodejs-1:10.16.3-2.module_el8.0.0+186+542b25fc.x86_64
                 : nodejs-debuginfo-1:10.16.3-2.module_el8.0.0+186+542b25fc.x86_64
                 : nodejs-debugsource-1:10.16.3-2.module_el8.0.0+186+542b25fc.x86_64
                 : nodejs-devel-1:10.16.3-2.module_el8.0.0+186+542b25fc.x86_64
                 : nodejs-devel-debuginfo-1:10.16.3-2.module_el8.0.0+186+542b25fc.x86_64
                 : nodejs-docs-1:10.16.3-2.module_el8.0.0+186+542b25fc.noarch
                 : nodejs-nodemon-0:1.18.3-1.module_el8.0.0+14+a5a48e73.noarch
                 : nodejs-nodemon-0:1.18.3-1.module_el8.0.0+14+a5a48e73.src
                 : nodejs-packaging-0:17-3.module_el8.0.0+186+542b25fc.noarch
                 : nodejs-packaging-0:17-3.module_el8.0.0+186+542b25fc.src
                 : npm-1:6.9.0-1.10.16.3.2.module_el8.0.0+186+542b25fc.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