0
0

More than 1 year has passed since last update.

AlmaLinux OS 9にRuby 3.1をインストール(AppStream)

Last updated at Posted at 2022-11-18

はじめに

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

サポート

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

LOG

インストール

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

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

# yum module list ruby
Last metadata expiration check: 0:09:08 ago on Fri Nov 18 06:46:38 2022.
AlmaLinux 9 - AppStream
Name          Stream          Profiles           Summary
ruby          3.1             common [d]         An interpreter of object-oriented scripting language

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

# yum module install -y ruby:3.1
... 略

各種確認

# which ruby
/usr/bin/ruby

# ruby -v
ruby 3.1.2p20 (2022-04-12 revision 4491bb740a) [x86_64-linux]

# yum info ruby
Last metadata expiration check: 0:10:04 ago on Fri Nov 18 06:46:38 2022.
Installed Packages
Name         : ruby
Version      : 3.1.2
Release      : 141.module_el9.1.0+8+503f6fbd
Architecture : x86_64
Size         : 91 k
Source       : ruby-3.1.2-141.module_el9.1.0+8+503f6fbd.src.rpm
Repository   : @System
From repo    : appstream
Summary      : An interpreter of object-oriented scripting language
URL          : https://www.ruby-lang.org/
License      : (Ruby or BSD) and Public Domain and MIT and CC0 and zlib and UCD
Description  : Ruby is the interpreted scripting language for quick and easy
             : object-oriented programming.  It has many features to process text
             : files and to do system management tasks (as in Perl).  It is simple,
             : straight-forward, and extensible.

Available Packages
Name         : ruby
Version      : 3.1.2
Release      : 141.module_el9.1.0+8+503f6fbd
Architecture : i686
Size         : 40 k
Source       : ruby-3.1.2-141.module_el9.1.0+8+503f6fbd.src.rpm
Repository   : appstream
Summary      : An interpreter of object-oriented scripting language
URL          : https://www.ruby-lang.org/
License      : (Ruby or BSD) and Public Domain and MIT and CC0 and zlib and UCD
Description  : Ruby is the interpreted scripting language for quick and easy
             : object-oriented programming.  It has many features to process text
             : files and to do system management tasks (as in Perl).  It is simple,
             : straight-forward, and extensible.
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