For some reason I decided it would be a good idea to apt-get remove cmake
from my ubuntu 12.04 distro and then put it back, but when I do sudo apt-get install cmake
I get the following error:
The following packages have unmet dependencies:
cmake : Depends: cmake-data (= 2.8.7-0ubuntu5) but 2.8.11.2-1ubuntu2~precise1 is to be installed
E: Unable to correct problems, you have held broken packages.
I have also tried to install cmake according to this guide, which appeared to have completed successfully, but still no cmake. I get
bash: /usr/bin/cmake: No such file or directory
What would cause this issue and how can I fix it?
/usr/bin/cmake
folder and then try it?