cmake-gui command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
cmake-gui: command not found
or when using sudo you get the following error message
sudo: cmake-gui: command not found
Solutions to cmake-gui: command not found
How To Fix cmake-gui: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu cmake-gui is provided by cmake-qt-gui package.
cmake-qt-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 Qt based GUI. Project configuration settings may be specified interactively. Brief instructions are provided at the bottom of the window when the program is running. The main executable file for this GUI is “cmake-gui”.
To fix this problem, we can install more using the command below.
sudo apt-get -y install cmake-qt-gui
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install cmake-qt-gui.
sudo apt -y install cmake-qt-gui
Or if you have aptitude installed you can use the following command.
sudo aptitude install cmake-qt-gui
Summary
In this tutorial we learn how to fix cmake-gui command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.