Cmake installation issue
I’m trying to install cmake on my ubuntu 20.04 VM. I tried to install cmake manually by downloading the tar, and running through the installation. However, when i use apt-cache policy cmake, my machine says I don’t have cmake installed. However, I can use cmake. The second problem I have is that I can’t use ctest, even though I would expect it to work. If I use sudo apt install cmake, 3.16.3-1ubuntu1 is installed. Is there a difference between CMake 3.16.3-1ubuntu1 and CMake 3.20.0-rc3?
Installation steps: wget tar -xzf cmake-3.20.0-rc3 cd cmake-3.20.0-rc3 cmake . make sudo make install
When I use cmake -version, the error I get is: