Issue
When installing from package-manager, cmake-gui
or cmake-qt-gui
are shipped with an older version of cmake
.
Even after I build and install cmake
's latest version from source, cmake-gui
continues to use the older version.
How to force cmake-gui
to use cmake
latest version builded from source?
Solution
The cmake-gui
package from repository has a built-in cmake
, those two have the same version.
Steps to install cmake-gui
latest version.
- Install
checkinstall
to easily removecmake
in the future:sudo apt-get install checkinstall
; - Download latest
cmake
from official site; - Extract the compressed file to some folder;
- Open a terminal inside that folder;
- Execute:
./bootstrap --qt-gui
; - Execute:
checkinstall -D make install
; You will be prompted with some questions, answer them; - Finished installation! Type
cmake
at Ubuntu's search bar and you will see aCMake
icon; - Verify the version clicking at help >> about;
Answered By - Oshio Answer Checked By - Mildred Charles (WPSolving Admin)