CMake Note 安装更新方法

I followed the tutorial to download and installed CMake from https://cmake.org/download/, whose brand is 3.16. However, after installing, the version was shown 3.5.1. Lots of operation I couldn’t realize.

- The solution I found is:

sudo apt remove cmake
sudo pip install cmake --upgrade

"Instead of using apt, the best way to install in LINUX is pip "

- Check availability

After you see

"Successfully installed cmake-3.15.3"

you could type in a new terminal

cmake --version

If you see

cmake version 3.15.3

Congratulation!!! Successfully!!!

- A good tutorial for CMake freshman

Linux下CMake简明教程
CMake 入门实战

发布了16 篇原创文章 · 获赞 1 · 访问量 269

猜你喜欢

转载自blog.csdn.net/weixin_45366564/article/details/103188118
今日推荐