This question already has an answer here:
I am currently trying to install some executable files in the cluster supported by my academic institution. When running the installation for a particular executable, I am asked to update my CMake version to at least 3.1 (the cluster currently has CMake 2.7). However, I am not a sudoer in the system and can't use 'sudo' or 'apt-get'.
Thus, I am trying to install CMake from source, and the cluster runs on Linux. I've search online on how to do this, but I always run into the trouble of having to use 'sudo', 'apt-get' or './bootstap' which I do not have and can't get without the 'sudo' command. What is the easiest way to install CMake on my home directory and instruct the cluster to run the new CMake version without using sudo?