ccmake command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
ccmake: command not found
or when using sudo you get the following error message
sudo: ccmake: command not found
Solutions to ccmake: command not found
How To Fix ccmake: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu ccmake is provided by cmake-curses-gui package.
cmake-curses-gui is:
CMake is used to control the software compilation process using simple platform and compiler independent configuration files. CMake generates native makefiles and workspaces that can be used in the compiler environment of your choice.
This package provides the CMake curses interface. Project configuration settings may be specified interactively through this GUI. Brief instructions are provided at the bottom of the terminal when the program is running. The main executable file for this GUI is “ccmake”.
To fix this problem, we can install more using the command below.
sudo apt-get -y install cmake-curses-gui
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install cmake-curses-gui.
sudo apt -y install cmake-curses-gui
Or if you have aptitude installed you can use the following command.
sudo aptitude install cmake-curses-gui
Summary
In this tutorial we learn how to fix ccmake command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.