Is there a good way to install latest cmake version from CentOS 6.5?
I'm doing yum install cmake
but it's giving me 2.6.4 from base repo which I don't want.
I tried installing cmake28
but the problem is that when I try to do ./configure
it throws an error saying cmake is not available.
To get cmake-3.10 or any other version, you have to download and install the package from https://packages.ubuntu.com/. Once you find the latest version of cmake . targz files, you have to build it yourself from the command line. @ZINATAKLIT, Just run "sudo apt-get install cmake".
You can check your CMake version by using the command cmake --version. cmake version 3.11.
I know this is an ancient question, but I got here by google searching and wanted to share what I knew so far.
when you sudo yum install cmake28
, you get a /usr/bin/cmake28 binary on your machine. You can setup a symlink to make your configure script work via the following:
sudo ln -s /usr/bin/cmake28 /usr/bin/cmake
Not sure why the cmake28 package doesn't do this for you.
rpm -Uv ftp://ftp.pbone.net/mirror/ftp5.gwdg.de/pub/opensuse/repositories/Application:/Geo/CentOS_6/x86_64/cmake-3.0.0-143.1.x86_64.rpm
Hope this helps to somebody. If you have any problems with it let me know. Have fun.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With