where you wget
gedit ~/.bashrc
export PATH=/home/Documents/cmake-3.17.1-Linux-x86_64/bin:$PATH
source ~/.bashrc
cmake --version
@:~$ cmake --version
cmake version 3.17.1
CMake suite maintained and supported by Kitware (kitware.com/cmake).
本文介绍了如何在Linux环境下配置CMake的环境变量,并通过编辑.bashrc文件来更新PATH,确保CMake版本3.17.1正确加载。通过源文件.bashrc并检查CMake版本确认配置成功。
929

被折叠的 条评论
为什么被折叠?



