Please fill out the following information to help in answering your question, and also see tips for posting code snippets. If you don’t provide this information it will take more time to help with your problem!
Do you have admin rights on the machine you’re working on? If not, then you’ll need to contact the sysadmin of the machine to request the install of CMake. Alternately, you can download a binary package (.sh or .tar.gz) from here and install that in a location you can write to.
Hello @bmorgan My host machine is Linux Debian and that is where I have installed RockyLinux in VMworkstation. From the virtual machine is where I’m accessing Geant4 pre-installed in RockyLinux. The problem is that i cant get the admin password for installing new softwares into RockyLinux
If you created/installed the Rocky 9 image yourself, then you should have been prompted to create an admin account or otherwise add your main account as a sudoer. Otherwise, if you took a pre-existing VM, then you would need to contact its provider for details of the admin account/how to install other software.
I have this version of Geant4 installed quite easily on my Debian system.
It will not change anything on the Debian itself as it is installed in a conda environment.
I posted here (see below) in the past an installation guide for Debian (bullseye at that time).