I need to uninstall cmake from my Ubuntu machine. I tried via command line as I saw in How can I uninstall software in Ubuntu?
sudo apt-get remove cmake
sudo apt-get purge cmake
sudo apt remove cmake
But it didn't worked, the cmake is still exist in ~/.local/bin dir and when I check the version how to check whether CMake is installed in ubuntu?
cmake --version
I get the cmake version . How can I uninstall and remove cmake?