How To Install libglade2 on CentOS 7

In this tutorial we learn how to install libglade2 on CentOS 7. libglade2 is The libglade library for loading user interfaces

Introduction

In this tutorial we learn how to install libglade2 on CentOS 7.

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. 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 CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install libglade2.

Install libglade2 on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install libglade2 using yum by running the following command:

sudo yum -y install libglade2

Install libglade2 on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

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

sudo dnf -y install libglade2

How To Uninstall libglade2 on CentOS 7

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

sudo dnf remove libglade2

References

Summary

In this tutorial we learn how to install libglade2 on CentOS 7 using yum and dnf.