cmake
last modified: 2024-03-21 by Kodai OkawaGenerally, sudo dnf install cmake
, sudo apt install cmake
or brew install cmake
support latest version of the cmake, but for some older machine like CentOS7, it is too old to install ROOT.
The latest ROOT require CMake 3.16 or higher, and if your system doesn’t support this version, you need to install manually.
You can get more information from here.
cd hoge
git clone https://github.com/Kitware/Cmake.git
cd Cmake
./bootstrap
make -j8
sudo make install
If you want to set the version, you can change the branch (tag).
The default branch is master
.