一、卸载系统老版本的 CMake
$ sudo apt autoremove cmake
二、下载最新版本 CMake
三、安装
$ sudo bash ./cmake-3.28.1-linux-x86_64.sh --prefix=/usr/ --skip-license
标签:cmake,--,sudo,版本,Linux,CMake
From: https://www.cnblogs.com/RioTian/p/17979486
$ sudo apt autoremove cmake
$ sudo bash ./cmake-3.28.1-linux-x86_64.sh --prefix=/usr/ --skip-license
标签:cmake,--,sudo,版本,Linux,CMake
From: https://www.cnblogs.com/RioTian/p/17979486