How do I install ccmake (not cmake)?

I have tried the following to no avail:

sudo apt-get install ccmake

Install the package cmake-curses-gui. You can install it by clicking the below image:

Install via the software center

Or by executing the following in a terminal:

sudo apt-get install cmake-curses-gui
  • That is the same as installing ccmake?
    – Josh
    Apr 13 '12 at 20:22
  • 3
    The package cmake-curses-gui contains the program ccmake Apr 13 '12 at 20:30
  • I get the error: "Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: cmake-curses-gui : Depends: cmake (= 2.8.7-0ubuntu4) E: Unable to correct problems, you have held broken packages." Mar 11 '14 at 14:21
  • Any help about what I can do to sort it? Mar 11 '14 at 14:22
  • 1
    Manas, this was 3 years ago, but for future question askers, this is usually fixed by running sudo apt-get install -f May 15 '17 at 4:54
$ apt-cache search ccmake
cmake-curses-gui - curses based user interface for CMake (ccmake)
xutils-dev - X Window System utility programs for development

(This is on Debian but Ubuntu usually has the same packages; you might possibly have to turn on the universe repository.)

In general, use apt-cache search to find specific package names.


Try using

sudo apt-get install cmake-curses-gui

Hope that helps!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.