How To Install cmake-gui on Rocky Linux 8

In this tutorial we learn how to install cmake-gui on Rocky Linux 8. cmake-gui is Qt GUI for cmake

Introduction

In this tutorial we learn how to install cmake-gui on Rocky Linux 8.

What is cmake-gui

The cmake-gui package contains the Qt based GUI for cmake.

We can use yum or dnf to install cmake-gui on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install cmake-gui.

Install cmake-gui on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install cmake-gui using dnf by running the following command:

sudo dnf -y install cmake-gui

Install cmake-gui on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install cmake-gui using yum by running the following command:

sudo yum -y install cmake-gui

How To Uninstall cmake-gui on Rocky Linux 8

To uninstall only the cmake-gui package we can use the following command:

sudo dnf remove cmake-gui

cmake-gui Package Contents on Rocky Linux 8

/usr/bin/cmake-gui
/usr/lib/.build-id
/usr/lib/.build-id/09/2edfcacd8aa34a7506c6c2eef0073a5b52e9b4
/usr/share/applications/cmake-gui.desktop
/usr/share/icons/hicolor/128x128/apps/CMakeSetup.png
/usr/share/icons/hicolor/32x32/apps/CMakeSetup.png
/usr/share/man/man1/cmake-gui.1.gz
/usr/share/metainfo/cmake-gui.appdata.xml
/usr/share/mime/packages
/usr/share/mime/packages/cmakecache.xml
/usr/bin/cmake-gui
/usr/lib/.build-id
/usr/lib/.build-id/a2
/usr/lib/.build-id/a2/75195a730147707c4a383a2ed57c6e2888d932
/usr/share/applications/cmake-gui.desktop
/usr/share/icons/hicolor/128x128/apps/CMakeSetup.png
/usr/share/icons/hicolor/32x32/apps/CMakeSetup.png
/usr/share/man/man1/cmake-gui.1.gz
/usr/share/metainfo/cmake-gui.appdata.xml
/usr/share/mime/packages
/usr/share/mime/packages/cmakecache.xml

References

Summary

In this tutorial we learn how to install cmake-gui on Rocky Linux 8 using yum and dnf.