Linux ppc64le centos源码编译安装cmake3.6.1
1安装依赖
yum install gcc yum install make yum install ninja-build yum install unzip yum install libssl-dev
2.下载源码 编译安装 查看cmake版本 点击这里
mkdir /home/env cd /home/env wget wget https://cmake.org/files/v3.6/cmake-3.6.1.tar.gz tar - xvf cmake-3.24.1.tar.gz cd cmake-3.24.1 ./configure make -j10
./configure执行结果
make执行结果
3.安装 执行
make
make install
5.查看是否安装成功
cmake --version