Quantcast
Channel: Node.jsタグが付けられた新着記事 - Qiita
Viewing all articles
Browse latest Browse all 8691

RHEL 8にNode.js 12をインストール(AppStream)

$
0
0

はじめに

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

サポート

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

LOG

インストール

#cat /etc/redhat-release
Red Hat Enterprise Linux release 8.1 (Ootpa)

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

各種確認

# which node
/usr/bin/node

# node -vv12.4.0

# yum module info nodejs:12
Updating Subscription Management repositories.
Unable to read consumer identity
Subscription Manager is operating in container mode.
Last metadata expiration check: 0:11:39 ago on Sun Nov 10 09:16:37 2019.
Name             : nodejs
Stream           : 12 [e]
Version          : 8010020190807190418
Context          : cdc1202b
Architecture     : x86_64
Profiles         : common [d] [i], development, minimal, s2i
Default profiles : common
Repo             : ubi-8-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:12.4.0-2.module+el8.1.0+3903+b7133459.src
                 : nodejs-1:12.4.0-2.module+el8.1.0+3903+b7133459.x86_64
                 : nodejs-debuginfo-1:12.4.0-2.module+el8.1.0+3903+b7133459.x86_64
                 : nodejs-debugsource-1:12.4.0-2.module+el8.1.0+3903+b7133459.x86_64
                 : nodejs-devel-1:12.4.0-2.module+el8.1.0+3903+b7133459.x86_64
                 : nodejs-devel-debuginfo-1:12.4.0-2.module+el8.1.0+3903+b7133459.x86_64
                 : nodejs-docs-1:12.4.0-2.module+el8.1.0+3903+b7133459.noarch
                 : nodejs-nodemon-0:1.18.3-1.module+el8.1.0+3369+37ae6a45.noarch
                 : nodejs-nodemon-0:1.18.3-1.module+el8.1.0+3369+37ae6a45.src
                 : nodejs-packaging-0:17-3.module+el8.1.0+3369+37ae6a45.noarch
                 : nodejs-packaging-0:17-3.module+el8.1.0+3369+37ae6a45.src
                 : npm-1:6.9.0-1.12.4.0.2.module+el8.1.0+3903+b7133459.x86_64

Name             : nodejs
Stream           : 12 [e] [a]
Version          : 8010020190807190418
Context          : cdc1202b
Architecture     : x86_64
Profiles         : common [d] [i], development, minimal, s2i
Default profiles : common
Repo             : rhel-8-for-x86_64-appstream-rpms
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:12.4.0-2.module+el8.1.0+3903+b7133459.src
                 : nodejs-1:12.4.0-2.module+el8.1.0+3903+b7133459.x86_64
                 : nodejs-debuginfo-1:12.4.0-2.module+el8.1.0+3903+b7133459.x86_64
                 : nodejs-debugsource-1:12.4.0-2.module+el8.1.0+3903+b7133459.x86_64
                 : nodejs-devel-1:12.4.0-2.module+el8.1.0+3903+b7133459.x86_64
                 : nodejs-devel-debuginfo-1:12.4.0-2.module+el8.1.0+3903+b7133459.x86_64
                 : nodejs-docs-1:12.4.0-2.module+el8.1.0+3903+b7133459.noarch
                 : nodejs-nodemon-0:1.18.3-1.module+el8.1.0+3369+37ae6a45.noarch
                 : nodejs-nodemon-0:1.18.3-1.module+el8.1.0+3369+37ae6a45.src
                 : nodejs-packaging-0:17-3.module+el8.1.0+3369+37ae6a45.noarch
                 : nodejs-packaging-0:17-3.module+el8.1.0+3369+37ae6a45.src
                 : npm-1:6.9.0-1.12.4.0.2.module+el8.1.0+3903+b7133459.x86_64

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

Viewing all articles
Browse latest Browse all 8691

Trending Articles