When you attempt ot install WordPress Toolkit to your server when have AlmaLinux 8, it will currently fail to do so citing:
Error: Failed to download metadata for repo 'wp-toolkit-thirdparties': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
This is due to the current incompatibility and with AlmaLinux 8 being a relatively new release.
We've opened an internal case for our development team to investigate this further. For reference, the case number is CPANEL-36574. Follow this article to receive an email notification when a solution is published in the product.
There is no current workaround.