How To Install gtkmm24 on Rocky Linux 8

In this tutorial we learn how to install gtkmm24 on Rocky Linux 8. gtkmm24 is C++ interface for GTK2 (a GUI library for X)

Introduction

In this tutorial we learn how to install gtkmm24 on Rocky Linux 8.

What is gtkmm24

gtkmm provides a C++ interface to the GTK+ GUI library. gtkmm2 wraps GTK+ 2. Highlights include typesafe callbacks, widgets extensible via inheritance and a comprehensive set of widget classes that can be freely combined to quickly create complex user interfaces.

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

Install gtkmm24 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 gtkmm24 using dnf by running the following command:

sudo dnf -y install gtkmm24

Install gtkmm24 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 gtkmm24 using yum by running the following command:

sudo yum -y install gtkmm24

How To Uninstall gtkmm24 on Rocky Linux 8

To uninstall only the gtkmm24 package we can use the following command:

sudo dnf remove gtkmm24

gtkmm24 Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/5c
/usr/lib/.build-id/5c/bd0442137c36dfa5d81b1f70ce66251a6afd12
/usr/lib/.build-id/8f
/usr/lib/.build-id/8f/80953c853309bf082ffcad40696d4cf1d6ff58
/usr/lib64/libgdkmm-2.4.so.1
/usr/lib64/libgdkmm-2.4.so.1.1.0
/usr/lib64/libgtkmm-2.4.so.1
/usr/lib64/libgtkmm-2.4.so.1.1.0
/usr/share/doc/gtkmm24
/usr/share/doc/gtkmm24/AUTHORS
/usr/share/doc/gtkmm24/NEWS
/usr/share/doc/gtkmm24/README
/usr/share/licenses/gtkmm24
/usr/share/licenses/gtkmm24/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/a2
/usr/lib/.build-id/a2/afe844f92e6a731f6d50c2f1aaf11ee4f3a25b
/usr/lib/.build-id/e5
/usr/lib/.build-id/e5/cd70aeda79fbcb49e173b3390a6252e590de59
/usr/lib/libgdkmm-2.4.so.1
/usr/lib/libgdkmm-2.4.so.1.1.0
/usr/lib/libgtkmm-2.4.so.1
/usr/lib/libgtkmm-2.4.so.1.1.0
/usr/share/doc/gtkmm24
/usr/share/doc/gtkmm24/AUTHORS
/usr/share/doc/gtkmm24/NEWS
/usr/share/doc/gtkmm24/README
/usr/share/licenses/gtkmm24
/usr/share/licenses/gtkmm24/COPYING

References

Summary

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