Installing latest cmake and cmake-gui to run globally on Ubuntu / Linux OS

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

heads up: at the moment of this comment, ./bootstrap of latest version of cmake-3.27.4 doesnt work

if this doesnt work for you, keep trying older versions till it does


(i found this solution by random luck accidentally downloading an older one, wouldve been stuck otherwise)

CCleanerShot
Автор

If you find yourself like I did asking "where the heck is the 'opt' directory?" type 'cd /' and click enter (this will navigate you to the root folder). type 'cd opt' and click enter (this will change the current directory to the opt directory).

stromharlan
Автор

Heads up! There is a bug with Qt6 and I could not get diddly squat to work. I uninstalled Qt6 and installed Qt5 using 'sudo apt -get install qtbase5-dev qt5-qmake'

stromharlan
Автор

Hello, thanks for the tutorial! Just to add something: if ./bootstrap fails because you don't have qt and you get this error:

CMake Error at (message):

Could not find a valid Qt installation.

you can still bootstrap cmake if you don't have QT installed (you will not have the cmake gui however) by typing ./bootstrap --no-qt-gui

also I obtained an error while running ./bootstrap because I didn't have lib ssl. I installed it with: sudo apt install libssl-dev

cookiecap_
Автор

In windows is just next, next, conclude! Why linux has to be so complicated?

Popart-xhfd