配置编译环境 gcc、g++、make,及编译依赖库: libssl-dev 从CMake官网下载最新的源码包 wget https://github.com/Kitware/CMake/releases/download/v3.18.3/cmake-3.18.3.tar.gz 解压 tar -zxvf cmake-3.18.3.tar.gz cd cmake-3.18.3 安装编译环境 apt update apt install gcc apt install g++ apt ...
在Ubuntu中,源码编译、安装最新版CMake 3.18.3从零开始在Ubuntu 18中下载CMake 3.18.3源码,进行编译、安装。配置编译环境 gcc、g++、make,及编译依赖库: libssl-dev从CMake官网下载最新的源码包wget https://github.com/Kitware/CMake/releases/download/v3.18.3/cmake-3.