卸载旧版本yum remove cmake下载wget https://github.com/Kitware/CMake/releases/download/v3.14.5/cmake-3.14.5-Linux-x86_64.tar.gz解压tar -zxvf cmake-3.14.5-Linux-x86_64.tar.gz配置环境变量export PATH=$PATH:/<path>/cmake-3.14.5-Linux-x86_64/bin