More thank likely something is missing.
Run the below, and it will install most of the dependencies on AlmaLinux 9 for CWP.
If something is already installed, it should just skip it.
Sometime perl-Sys-Hostname gives a problem.
/usr/bin/crb enable
dnf install nano wget ipset ebtables iptables uuid uuid-devel libuuid-devel m4 pcre pcre-devel zlib-devel perl-DBD-MySQL perl-IPC-Cmd perl-Pod-Html perl-Sys-Hostname perl-libwww-perl.noarch perl-LWP-Protocol-https.noarch perl-GDGraph libtool s-nail htop sysstat python3-perf ImageMagick ImageMagick-devel -y
dnf --refresh update