Ask Ubuntu Asked on October 31, 2021
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?
It is absolutely normal that ~/.local/bin
folder is not maintained by APT.
Remove the file with:
rm -rf ~/.local/bin/cmake
and retry running which cmake
or cmake --version
to confirm its removal.
Answered by N0rbert on October 31, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP