Error 22 trying to install on almalinux

AlmaLinux is not yet supported. Virtualmin OS Support – Virtualmin

Things in the git repository should not be expected to be production-ready. The current install script is linked on our download page.