How To Install perl-Gtk2-TrayIcon on Fedora 36

In this tutorial we learn how to install perl-Gtk2-TrayIcon in Fedora 36. perl-Gtk2-TrayIcon is Perl interface to the EggTrayIcon library (deprecated)

Introduction

In this tutorial we learn how to install perl-Gtk2-TrayIcon on Fedora 36.

What is perl-Gtk2-TrayIcon

This module allows a Perl developer to embed an arbitrary widget in a System Tray like the Gnome notification area. This package is deprecated. The users are advised to migrate to Gtk3

We can use yum or dnf to install perl-Gtk2-TrayIcon on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Gtk2-TrayIcon.

Install perl-Gtk2-TrayIcon on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install perl-Gtk2-TrayIcon

Install perl-Gtk2-TrayIcon on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install perl-Gtk2-TrayIcon

How To Uninstall perl-Gtk2-TrayIcon on Fedora 36

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

sudo dnf remove perl-Gtk2-TrayIcon

perl-Gtk2-TrayIcon Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/35
/usr/lib/.build-id/35/81344b618f661878d2c531176129e4226d4d16
/usr/lib64/perl5/vendor_perl/Gtk2
/usr/lib64/perl5/vendor_perl/Gtk2/TrayIcon
/usr/lib64/perl5/vendor_perl/Gtk2/TrayIcon.pm
/usr/lib64/perl5/vendor_perl/Gtk2/TrayIcon/Install
/usr/lib64/perl5/vendor_perl/Gtk2/TrayIcon/Install/Files.pm
/usr/lib64/perl5/vendor_perl/Gtk2/TrayIcon/Install/trayicon-autogen.h
/usr/lib64/perl5/vendor_perl/Gtk2/TrayIcon/Install/trayicon.typemap
/usr/lib64/perl5/vendor_perl/auto/Gtk2
/usr/lib64/perl5/vendor_perl/auto/Gtk2/TrayIcon
/usr/lib64/perl5/vendor_perl/auto/Gtk2/TrayIcon/TrayIcon.so
/usr/share/doc/perl-Gtk2-TrayIcon
/usr/share/doc/perl-Gtk2-TrayIcon/ChangeLog
/usr/share/doc/perl-Gtk2-TrayIcon/README
/usr/share/doc/perl-Gtk2-TrayIcon/TODO
/usr/share/doc/perl-Gtk2-TrayIcon/examples
/usr/share/doc/perl-Gtk2-TrayIcon/examples/simple.pl
/usr/share/man/man3/Gtk2::TrayIcon.3pm.gz

References

Summary

In this tutorial we learn how to install perl-Gtk2-TrayIcon on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).