Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
Help us understand the problem. What is going on with this article?

RHEL 8 で Ruby 2.5 から Ruby 2.6 へアップグレード(AppStream)

More than 1 year has passed since last update.

はじめに

Application Stream(AppStream)を利用してRHEL8にRuby2.6をアップグレードインストール
参考:ユーザー空間コンポーネントのインストール、管理、および削除 Red Hat Enterprise Linux 8 | Red Hat Customer Portal

サポート

各Streamのサポート期間はRed Hat Enterprise Linux 8 Application Streams Life Cycle - Red Hat Customer Portalを参照。
それ以降に報告された脆弱性や不具合への対応は実施されない可能性がある。

LOG

Ruby2.5(default)インストール

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

# yum install -y ruby
... 略

# ruby -v
ruby 2.5.5p157 (2019-03-15 revision 67260) [x86_64-linux]

Stream切り替え

# yum distro-sync
# yum module reset ruby
# yum module enable ruby:2.6
# yum distro-sync

# ruby -v
ruby 2.6.3p62 (2019-04-16 revision 67580) [x86_64-linux]
witchcraze
個人用wiki代わりのメモを淡々と...
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away