Never install manually. It isn’t worth it.
The beta version of the Virtualmin 7 installer is expected to work pretty well on AlmaLinux and Rocky (but not Debian/Ubuntu, yet, so don’t bother trying on those): https://raw.githubusercontent.com/virtualmin/virtualmin-install/master/virtualmin-install.sh