相关链接:https://blog.csdn.net/whuhjp/article/details/50186929

sudo apt-get install build-essential
wget http://www.cmake.org/files/v3.4/cmake-3.4.1.tar.gz
tar xf cmake-3.4.1.tar.gz
cd cmake-3.4.1
./configure
make

 

sudo apt-get install checkinstall
sudo checkinstall

 

sudo make install   安装到根目录

最后在终端输入:cmake --version

如果显示cmake version 3.4.1

则安装成功!

 

测试程序:https://www.jianshu.com/p/dd6fcfb87e5e 可用网页例程

 

相关文章:

  • 2021-05-05
  • 2021-07-18
  • 2021-11-07
  • 2021-11-24
  • 2021-11-27
  • 2021-09-10
  • 2021-12-25
  • 2021-05-26
猜你喜欢
  • 2021-11-15
  • 2022-02-09
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-21
相关资源
相似解决方案