CentOS:CMakeをインストール
yum でインストールする場合
yum install -y cmake
アーカイブからインストールする場合
curl -SL https://github.com/Kitware/CMake/releases/download/v3.18.1/cmake-3.18.1-Linux-x86_64.tar.gz | tar -xzC /opt
ln -s /opt/cmake-3.18.1-Linux-x86_64/bin/cmake /usr/bin/cmake
アーカイブの取得先
https://github.com/Kitware/CMake/releases
https://cmake.org/download/