TransWikia.com

uninstall cmake in Ubuntu 18.04

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?

One Answer

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

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP