I had cmake 3.9 version on my RHEL 7.6 system. But for some development work, i need 3.12 version. I downloaded the https://cmake.org/files/v3.12/cmake-3.12.2.tar.gz. Untarred