how to install cmake-gui 3?
Andrew Henderson
I have cmake 3.2.2 but cmake-gui shows 2.8 and some packages can not be configured using cmake-gui because they asked for the new version. is there away to install cmake-gui 3 or to make it recognize the last version installed? Have a nice day! Ibraheem
3 Answers
What works for me is:
Remove the old installed cmake
sudo apt remove cmakeDownload and build the recent version using qt support. e.g.
./configure --qt-gui make -j5Make soft link to
/usr/bin
The cmake-qt-gui package from repository depends on 2.8 cmake. To make it recognize 3.2.2. you could try to mess with symlinks by setting cmake 2.8 link to the new cmake. But I can't guarantee that it will work and doubt that it will have the same the functionality.
But if you build cmake from source, you can get new cmake-gui. Open bootstrap file, scroll down and set:
cmake_bootstrap_qt_gui="1"Then configure, build and install cmake. It might be better to delete cmake-qt-gui 2.8 version first, as I am not sure what will happen if you have both.
1 : Solution
Click On the link below which will download a deb package of cmake-qt-gui_3 you will need gdebi to install it :
How Do I install gdebi package manager ? Type The Following Command in your terminal :
sudo apt install gdebi-core Once Installed you can now open the deb package with gdebi package manager.. And Install..
2 : Solution
Type The Following Commands in your terminal:
sudo apt update
sudo apt upgrade
sudo snap install cmake -classicOnce the installation completes, run the “–version” command below to see the CMake version installed in your system.
cmake --version3 : Solution :
sudo snap install cmake version 3.18.2, or
sudo apt install cmakeversion 3.16.3-1ubuntu1
See 'snap info cmake' for additional versions.