How To Install perl-Class-Observable on Fedora 36

In this tutorial we learn how to install perl-Class-Observable in Fedora 36. perl-Class-Observable is Allow other classes and objects to respond to events in yours

Introduction

In this tutorial we learn how to install perl-Class-Observable on Fedora 36.

What is perl-Class-Observable

If you have ever used Java, you may have run across the java.util.Observable class and the java.util.Observer interface. With them you can decouple an object from the one or more objects that wish to be notified whenever particular events occur.

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

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

sudo dnf -y install perl-Class-Observable

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

sudo yum -y install perl-Class-Observable

How To Uninstall perl-Class-Observable on Fedora 36

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

sudo dnf remove perl-Class-Observable

perl-Class-Observable Package Contents on Fedora 36

/usr/share/doc/perl-Class-Observable
/usr/share/doc/perl-Class-Observable/Changes
/usr/share/doc/perl-Class-Observable/README
/usr/share/licenses/perl-Class-Observable
/usr/share/licenses/perl-Class-Observable/LICENSE
/usr/share/man/man3/Class::Observable.3pm.gz
/usr/share/perl5/vendor_perl/Class
/usr/share/perl5/vendor_perl/Class/Observable.pm
/usr/share/perl5/vendor_perl/Class/boilerplate.pl

References

Summary

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