generated from Meekdai/Gmeek-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
techshare some tech ~~share some tech ~~
Description
- apt 卸载当前cmake
- https://cmake.org/files 选择版本,下载.sh自动安装脚本
- 安装时应用
--prefix=/usr/local指定安装位置 - 安装时按照提示,使用
subdir,从而将cmake安装在/usr/local/cmake-xxx/下,方便区分版本和卸载 - 安装提示添加环境变量。
export PATH="/usr/local/cmake-xxx/bin:$PATH" cmake --version
Metadata
Metadata
Assignees
Labels
techshare some tech ~~share some tech ~~