linux cmake 的安装使用(Installation and use of Linux cmake)

1 安装虚拟机centos7.7。

2.优先安装以下,依赖openssl:(第三部失败,在升级安装也行)openssl version -ayum install -y openssl openssl-devel

3.安装cmake==》./bootstrap –prefix=/usr/local/cmake gmake gmake install 4.方便使用ln -s /usr/local/cmake/bin/* /usr/bin/或export PATH=$PATH:/usr/local/cmake/bin

5. cmake –version

————————

1 install the virtual machine CentOS 7.7.

2. Install the following preferentially and rely on OpenSSL: (the third part fails, and it can also be installed during upgrade) OpenSSL version – ayum install – y OpenSSL OpenSSL devel

3.安装cmake==》./bootstrap –prefix=/usr/local/cmake gmake gmake install 4.方便使用ln -s /usr/local/cmake/bin/* /usr/bin/或export PATH=$PATH:/usr/local/cmake/bin

5. cmake –version