}
deps_linux_rhel() {
+ yum upgrade -y
+
if [ "$ID" != fedora ]; then
yum install -y epel-release
if type dnf; then
dnf install -y 'dnf-command(config-manager)'
- dnf config-manager --enable powertools
+ dnf config-manager --enable powertools || true
+ dnf config-manager --enable crb || true
fi
fi
- yum upgrade -y
-
yum install -y \
git binutils make meson pkgconf gcc sudo texinfo-tex systemd perl-IPC-Cmd \
lzo-devel zlib-devel lz4-devel ncurses-devel readline-devel libgcrypt-devel "$@"
deps_linux_debian "$@"
;;
- centos | almalinux | fedora)
+ fedora)
deps_linux_rhel "$@"
- linux_openssl3
+ ;;
+
+ centos | almalinux)
+ deps_linux_rhel "$@"
+
+ if [ "${PLATFORM_ID:-}" != platform:el9 ]; then
+ linux_openssl3
+ fi
;;
*) exit 1 ;;