-
Notifications
You must be signed in to change notification settings - Fork 789
Description
When I try to install Ruby on RHEL (8/9), then yum and dnf note that there is no package called libyaml-devel
, and that the version of GCC cited no longer exists.
Let's remove the -6
version suffix entirely from the GCC package, for maintainability with future OS versions that will grow this number over time.
In recent versions of RHEL, the libyaml-devel
package is hidden by default. RHEL users will need to explicitly enable some package groups:
# RHEL 8 based distros:
dnf config-manager --set-enabled powertools
# RHEL 9 based distros:
dnf config-manager --set-enabled crb
dnf install libyaml-devel
For comparison, RVM uses Ruby's built-in libyaml implementation:
Ruby is one of the more complicated programming languages to install. Would be nice to have a tarball of pre-compiled binaries, independent of package management install media, in order to provide a dead simple way to get Ruby in contexts like ephemeral CI/CD environments and Docker FROM scratch images.