How To Install perl-Gtk3 on Rocky Linux 8

In this tutorial we learn how to install perl-Gtk3 on Rocky Linux 8. perl-Gtk3 is Perl interface to the 3.x series of the GTK+ toolkit

Introduction

In this tutorial we learn how to install perl-Gtk3 on Rocky Linux 8.

What is perl-Gtk3

The Gtk3 module allows a Perl developer to use the GTK+ graphical user interface library. Find out more about GTK+ at <http

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

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

sudo dnf -y install perl-Gtk3

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

sudo yum -y install perl-Gtk3

How To Uninstall perl-Gtk3 on Rocky Linux 8

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

sudo dnf remove perl-Gtk3

perl-Gtk3 Package Contents on Rocky Linux 8

/usr/share/doc/perl-Gtk3
/usr/share/doc/perl-Gtk3/NEWS
/usr/share/doc/perl-Gtk3/README
/usr/share/licenses/perl-Gtk3
/usr/share/licenses/perl-Gtk3/LICENSE
/usr/share/man/man3/Gtk3.3pm.gz
/usr/share/perl5/vendor_perl/Gtk3.pm

References

Summary

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