centos7.9 安装新版cmake-3.25.2(通过release包,非源码包)

centos7.9 安装新版cmake-3.25.2(通过release包,非源码包)

一、环境描述

1、系统:Centos 7.9

2、登录用户:root

3、版本:CMake 3.25.2

二、安装步骤

  1. 获取CMake Release包.

1.1 cmake官网地址 https://cmake.org/download/

1.2 直接下载获取release包。

[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-FvKQuIdi-1676517409332)(C:\Users\public.LAPTOP-7TSV3TU8\AppData\Roaming\Typora\typora-user-images\image-20230216104232055.png)]

[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-aL0BCR7E-1676517409333)(C:\Users\public.LAPTOP-7TSV3TU8\AppData\Roaming\Typora\typora-user-images\image-20230216104426360.png)]

1.3 通过wget下载 release包。

# which wget
# yum install -y wget  //已安装则略过此步
# wget https://github.com/Kitware/CMake/releases/download/v3.25.2/cmake-3.25.2-linux-x86_64.tar.gz

你可能感兴趣的:(linux,运维,服务器)