How To Install perl-Log-Message on Fedora 36

In this tutorial we learn how to install perl-Log-Message in Fedora 36. perl-Log-Message is Generic message storing mechanism

Introduction

In this tutorial we learn how to install perl-Log-Message on Fedora 36.

What is perl-Log-Message

This package enables you to do generic message logging throughout programs and projects. Every message will be logged with stack traces, time stamps and so on. You can use built-in handlers immediately, or after the fact when you inspect the error stack. It is highly configurable and let’s you even provide your own handlers for dealing with messages.

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

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

sudo dnf -y install perl-Log-Message

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

sudo yum -y install perl-Log-Message

How To Uninstall perl-Log-Message on Fedora 36

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

sudo dnf remove perl-Log-Message

perl-Log-Message Package Contents on Fedora 36

/usr/share/doc/perl-Log-Message
/usr/share/doc/perl-Log-Message/CHANGES
/usr/share/doc/perl-Log-Message/README
/usr/share/man/man3/Log::Message.3pm.gz
/usr/share/man/man3/Log::Message::Config.3pm.gz
/usr/share/man/man3/Log::Message::Handlers.3pm.gz
/usr/share/man/man3/Log::Message::Item.3pm.gz
/usr/share/perl5/vendor_perl/Log
/usr/share/perl5/vendor_perl/Log/Message
/usr/share/perl5/vendor_perl/Log/Message.pm
/usr/share/perl5/vendor_perl/Log/Message/Config.pm
/usr/share/perl5/vendor_perl/Log/Message/Handlers.pm
/usr/share/perl5/vendor_perl/Log/Message/Item.pm

References

Summary

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