How to get the latest cmake from CentOS 6.5
I know this is an ancient question, but I got here on a google search and wanted to share what I knew so far.
when you do sudo yum install cmake28
, you get the binary / usr / bin / cmake 28 on your computer. You can set up a symbolic link to make your script configuration work like this:
sudo ln -s /usr/bin/cmake28 /usr/bin/cmake
Not sure why the cmake28 package doesn't do this for you.
source to share
Ok, after looking at the tutorial that CMake gives on their website, it says download this one and after that you also have the type .. / bootstrap "and then" make "and" make install ".
If you get any errors, type "sudo" in front of all the commands shown. If that doesn't work, your best bet is too logging into the root account by typing "su" followed by the root password.
If you already have cmake installed, you must either follow the steps that cmake suggests on its website , or try the "sudo yum remove cmake" command.
source to share