A tutorial for installing CMake on Rocky Linux EL9 or EL8 has been made available by Linux Capable.
How to Install CMake on Rocky Linux EL9 or EL8
Learn how to easily install CMake on Rocky Linux 9 or 8 using dnf package manager or compiling from source. Get the latest version today!
How to Install CMake on Rocky Linux EL9 or EL8 - LinuxCapable