Issue
I would like to uninstall cmake from centos 6.5: I installed it manually and I have 3.0 version. I would like to uninstall it to install a previous version with yum. I deleted all cmake files as suggested in
http://www.cmake.org/Wiki/CMake_FAQ#Can_I_do_.22make_uninstall.22_with_CMake.3F
and I installed cmake with yum. But when I call:
cmake ..
I receive the following error:
-bash: /usr/local/bin/cmake: No such file or directory
That means that previous installation is not clean. How can I clean it?
Solution
Please try to clear bash's cache using:
hash -r
Reference: SE
Answered By - kiran