![cmake install prefix remaints cmake install prefix remaints](https://discourse.cmake.org/uploads/default/original/2X/b/ba27335dffe9d34b3d0c6b5e629e86ebce24e61c.png)
bootstrap with no arguments after it, do that again. tar.gz file and passing all the same options you used (if any) to. That is, you would follow the same installation steps, starting from the same. If you have deleted the folder in which you ran sudo make install, or otherwise changed it, then your best bet is to rebuild and reinstall it (be sure to use exactly the same version) to get back the ability to run sudo make uninstall.
CMAKE INSTALL PREFIX REMAINTS SOFTWARE
Not all software that can be installed by running make install has a corresponding uninstall target letting you run make uninstall to remove it. Use cd to go back to the directory where you ran that command.Since you installed cmake by compiling it and then running sudo make install, the solution is for you to: Because the version that you have installed now is not provided by Ubuntu's package manager, but instead the version you compiled and installed yourself, running sudo apt-get purge cmake again does not remove it. This is to say that you uninstalled the version provided by Ubuntu's package manager and manually downloaded, compiled, and installed it yourself from source code.Īssuming you were able to follow those instructions successfully, the version of CMake provided by Ubuntu's package manager (via the cmake package) is already uninstalled. You followed this method of installing a different version of CMake. TL DR: Run sudo make uninstall in the directory where you ran sudo make install before.