How To Install libglade2 on Rocky Linux 8

In this tutorial we learn how to install libglade2 on Rocky Linux 8. libglade2 is The libglade library for loading user interfaces

Introduction

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

What is libglade2

Libglade is a small library that allows a program to load its user interface from am XML description at runtime. Libglade uses the XML file format used by the GLADE user interface builder GLADE, so libglade acts as an alternative to GLADE’s code generation approach. Libglade also provides a simple interface for connecting handlers to the various signals in the interface (on platforms where the gmodule library works correctly, it is possible to connect all the handlers with a single function call). Once the interface has been instantiated, libglade gives no overhead, so other than the short initial interface loading time, there is no performance tradeoff.

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

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

sudo dnf -y install libglade2

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

sudo yum -y install libglade2

How To Uninstall libglade2 on Rocky Linux 8

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

sudo dnf remove libglade2

libglade2 Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/42
/usr/lib/.build-id/42/01733b4a9aa56cf3245081c45c08e1c1edffe0
/usr/lib64/libglade
/usr/lib64/libglade-2.0.so.0
/usr/lib64/libglade-2.0.so.0.0.7
/usr/lib64/libglade/2.0
/usr/share/doc/libglade2
/usr/share/doc/libglade2/AUTHORS
/usr/share/doc/libglade2/NEWS
/usr/share/doc/libglade2/README
/usr/share/licenses/libglade2
/usr/share/licenses/libglade2/COPYING
/usr/share/xml/libglade
/usr/share/xml/libglade/glade-2.0.dtd

References

Summary

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