How To Install perl-Glib on AlmaLinux 8

In this tutorial we learn how to install perl-Glib in AlmaLinux 8. perl-Glib is Perl interface to GLib

Introduction

In this tutorial we learn how to install perl-Glib on AlmaLinux 8.

What is perl-Glib

This module provides perl access to GLib and GLib’s GObject libraries. GLib is a portability and utility library; GObject provides a generic type system with inheritance and a powerful signal system. Together these libraries are used as the foundation for many of the libraries that make up the Gnome environment, and are used in many unrelated projects.

We can use yum or dnf to install perl-Glib on AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Glib.

Install perl-Glib on AlmaLinux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install perl-Glib

Install perl-Glib on AlmaLinux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install perl-Glib

How To Uninstall perl-Glib on AlmaLinux 8

To uninstall only the perl-Glib package we can use the following command:

sudo dnf remove perl-Glib

References

Summary

In this tutorial we learn how to install perl-Glib on AlmaLinux 8 using yum and dnf.