How To Install perl-Glib on Rocky Linux 8

In this tutorial we learn how to install perl-Glib on Rocky Linux 8. perl-Glib is Perl interface to GLib

Introduction

In this tutorial we learn how to install perl-Glib on Rocky Linux 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 Rocky Linux 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 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 perl-Glib using dnf by running the following command:

sudo dnf -y install perl-Glib

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

sudo yum -y install perl-Glib

How To Uninstall perl-Glib on Rocky Linux 8

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

sudo dnf remove perl-Glib

perl-Glib Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/d6
/usr/lib/.build-id/d6/01d1c6532d74a1855e16c1ebdada49f16df080
/usr/lib64/perl5/vendor_perl/Glib
/usr/lib64/perl5/vendor_perl/Glib.pm
/usr/lib64/perl5/vendor_perl/Glib/BookmarkFile.pod
/usr/lib64/perl5/vendor_perl/Glib/Boxed.pod
/usr/lib64/perl5/vendor_perl/Glib/Bytes.pod
/usr/lib64/perl5/vendor_perl/Glib/CodeGen.pm
/usr/lib64/perl5/vendor_perl/Glib/Error.pod
/usr/lib64/perl5/vendor_perl/Glib/Flags.pod
/usr/lib64/perl5/vendor_perl/Glib/GenPod.pm
/usr/lib64/perl5/vendor_perl/Glib/Install
/usr/lib64/perl5/vendor_perl/Glib/Install/Files.pm
/usr/lib64/perl5/vendor_perl/Glib/Install/doctypes
/usr/lib64/perl5/vendor_perl/Glib/Install/typemap
/usr/lib64/perl5/vendor_perl/Glib/KeyFile.pod
/usr/lib64/perl5/vendor_perl/Glib/Log.pod
/usr/lib64/perl5/vendor_perl/Glib/MainLoop.pod
/usr/lib64/perl5/vendor_perl/Glib/Markup.pod
/usr/lib64/perl5/vendor_perl/Glib/Object
/usr/lib64/perl5/vendor_perl/Glib/Object.pod
/usr/lib64/perl5/vendor_perl/Glib/Object/Subclass.pm
/usr/lib64/perl5/vendor_perl/Glib/OptionContext.pod
/usr/lib64/perl5/vendor_perl/Glib/OptionGroup.pod
/usr/lib64/perl5/vendor_perl/Glib/Param
/usr/lib64/perl5/vendor_perl/Glib/Param/Boolean.pod
/usr/lib64/perl5/vendor_perl/Glib/Param/Double.pod
/usr/lib64/perl5/vendor_perl/Glib/Param/Enum.pod
/usr/lib64/perl5/vendor_perl/Glib/Param/Flags.pod
/usr/lib64/perl5/vendor_perl/Glib/Param/GType.pod
/usr/lib64/perl5/vendor_perl/Glib/Param/Int.pod
/usr/lib64/perl5/vendor_perl/Glib/Param/Int64.pod
/usr/lib64/perl5/vendor_perl/Glib/Param/String.pod
/usr/lib64/perl5/vendor_perl/Glib/Param/UInt.pod
/usr/lib64/perl5/vendor_perl/Glib/Param/UInt64.pod
/usr/lib64/perl5/vendor_perl/Glib/Param/Unichar.pod
/usr/lib64/perl5/vendor_perl/Glib/ParamSpec.pod
/usr/lib64/perl5/vendor_perl/Glib/ParseXSDoc.pm
/usr/lib64/perl5/vendor_perl/Glib/Signal.pod
/usr/lib64/perl5/vendor_perl/Glib/Type.pod
/usr/lib64/perl5/vendor_perl/Glib/Utils.pod
/usr/lib64/perl5/vendor_perl/Glib/Variant.pod
/usr/lib64/perl5/vendor_perl/Glib/VariantDict.pod
/usr/lib64/perl5/vendor_perl/Glib/VariantType.pod
/usr/lib64/perl5/vendor_perl/Glib/index.pod
/usr/lib64/perl5/vendor_perl/Glib/version.pod
/usr/lib64/perl5/vendor_perl/auto/Glib
/usr/lib64/perl5/vendor_perl/auto/Glib/Glib.so
/usr/share/doc/perl-Glib
/usr/share/doc/perl-Glib/AUTHORS
/usr/share/doc/perl-Glib/ChangeLog.pre-git
/usr/share/doc/perl-Glib/NEWS
/usr/share/doc/perl-Glib/README
/usr/share/doc/perl-Glib/TODO
/usr/share/licenses/perl-Glib
/usr/share/licenses/perl-Glib/LICENSE
/usr/share/man/man3/Glib.3pm.gz
/usr/share/man/man3/Glib::BookmarkFile.3pm.gz
/usr/share/man/man3/Glib::Boxed.3pm.gz
/usr/share/man/man3/Glib::Bytes.3pm.gz
/usr/share/man/man3/Glib::CodeGen.3pm.gz
/usr/share/man/man3/Glib::Error.3pm.gz
/usr/share/man/man3/Glib::Flags.3pm.gz
/usr/share/man/man3/Glib::GenPod.3pm.gz
/usr/share/man/man3/Glib::KeyFile.3pm.gz
/usr/share/man/man3/Glib::Log.3pm.gz
/usr/share/man/man3/Glib::MainLoop.3pm.gz
/usr/share/man/man3/Glib::Markup.3pm.gz
/usr/share/man/man3/Glib::Object.3pm.gz
/usr/share/man/man3/Glib::Object::Subclass.3pm.gz
/usr/share/man/man3/Glib::OptionContext.3pm.gz
/usr/share/man/man3/Glib::OptionGroup.3pm.gz
/usr/share/man/man3/Glib::Param::Boolean.3pm.gz
/usr/share/man/man3/Glib::Param::Double.3pm.gz
/usr/share/man/man3/Glib::Param::Enum.3pm.gz
/usr/share/man/man3/Glib::Param::Flags.3pm.gz
/usr/share/man/man3/Glib::Param::GType.3pm.gz
/usr/share/man/man3/Glib::Param::Int.3pm.gz
/usr/share/man/man3/Glib::Param::Int64.3pm.gz
/usr/share/man/man3/Glib::Param::String.3pm.gz
/usr/share/man/man3/Glib::Param::UInt.3pm.gz
/usr/share/man/man3/Glib::Param::UInt64.3pm.gz
/usr/share/man/man3/Glib::Param::Unichar.3pm.gz
/usr/share/man/man3/Glib::ParamSpec.3pm.gz
/usr/share/man/man3/Glib::ParseXSDoc.3pm.gz
/usr/share/man/man3/Glib::Signal.3pm.gz
/usr/share/man/man3/Glib::Type.3pm.gz
/usr/share/man/man3/Glib::Utils.3pm.gz
/usr/share/man/man3/Glib::Variant.3pm.gz
/usr/share/man/man3/Glib::VariantDict.3pm.gz
/usr/share/man/man3/Glib::VariantType.3pm.gz
/usr/share/man/man3/Glib::index.3pm.gz
/usr/share/man/man3/Glib::version.3pm.gz

References

Summary

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