CentOS8.3にRuby2.7をインストールする方法
操作方法
# dnf module list ruby
Last metadata expiration check: 1:28:03 ago on Sun 28 Mar 2021 07:57:58 PM JST.
CentOS Linux 8 – AppStream
Name Stream Profiles Summary
ruby 2.5 [d] common [d] An interpreter of object-oriented scripting language
ruby 2.6 common [d] An interpreter of object-oriented scripting language
ruby 2.7 common [d] An interpreter of object-oriented scripting language
Hint: [d]efault, [e]nabled, [x]disabled, [i]nstalled
インストール
# dnf module install ruby:2.7
バージョンを確認
# ruby -v
ruby 2.7.1p83 (2020-03-31 revision a0c7c23c9c) [x86_64-linux]