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!!!