Skip to content

Instantly share code, notes, and snippets.

@danielTobon43
Last active October 12, 2022 14:10
Show Gist options
  • Save danielTobon43/bac01bd27e41b89da81e95f6a87be0b5 to your computer and use it in GitHub Desktop.
Save danielTobon43/bac01bd27e41b89da81e95f6a87be0b5 to your computer and use it in GitHub Desktop.
CMake GUI install

Installing CMake with GUI Ubuntu

This tutorial explains the procedure to install CMake in Ubuntu 20.04 LTSC with GUI

Pre-requisites

sudo apt-get install qt5-default

CMake GUI installation

  1. Download CMake release package: source code

  2. Extract and copy the folder in /opt

  3. Navigate to the /opt/cmake-x.xx.x-xx and run:

sudo ./bootstrap --qt-gui

Screenshot from 2022-02-21 07-16-29

  1. Compile CMake
sudo make

Screenshot from 2022-02-21 07-17-11

  1. Install CMake
sudo make install

Screenshot from 2022-02-21 07-42-05

  1. Once is finished, check CMake version
cmake --version

Screenshot from 2022-02-21 07-47-53

  1. Check CMake GUI
cmake-gui

Screenshot from 2022-02-21 07-48-12

@dtcMLOps
Copy link

for ubuntu 22.04 you need:

sudo apt-get install qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools

qt5-default-not-in-ubuntu-21-04

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment