はじめに
Application Stream(AppStream)を利用してAlmaLinux OS 8にRuby 3.1をインストール
サポート
本手法で導入した場合、Red Hat Enterprise Linux Application Streams Life Cycle - Red Hat Customer Portalより、2025-03がEOLだと思われる。
それ以降に報告された脆弱性や不具合への対応は実施されない可能性がある。
LOG
インストール
# cat /etc/redhat-release
AlmaLinux release 8.7 (Stone Smilodon)
# 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:07:55 ago on Fri Nov 18 06:23:25 2022.
Installed Packages
Name : ruby
Version : 3.1.2
Release : 141.module_el8.7.0+3304+9392e77f
Architecture : x86_64
Size : 89 k
Source : ruby-3.1.2-141.module_el8.7.0+3304+9392e77f.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_el8.7.0+3304+9392e77f
Architecture : i686
Size : 89 k
Source : ruby-3.1.2-141.module_el8.7.0+3304+9392e77f.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.