How To Install perl-MooseX-Log-Log4perl on Fedora 36
Introduction
In this tutorial we learn how to install perl-MooseX-Log-Log4perl
on Fedora 36.
What is perl-MooseX-Log-Log4perl
A logging role building a very lightweight wrapper to Log with your the Moose classes. The initialization of the Log4perl instance must be performed prior to logging the first log message. Otherwise the default initialization will happen, probably not doing the things you expect. For compatibility the ’logger’ attribute can be accessed to use a common interface for application logging. For simple logging needs use MooseX log_
methods to your class instance.
We can use yum
or dnf
to install perl-MooseX-Log-Log4perl
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install perl-MooseX-Log-Log4perl.
Install perl-MooseX-Log-Log4perl 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-MooseX-Log-Log4perl
using dnf
by running the following command:
sudo dnf -y install perl-MooseX-Log-Log4perl
Install perl-MooseX-Log-Log4perl 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-MooseX-Log-Log4perl
using yum
by running the following command:
sudo yum -y install perl-MooseX-Log-Log4perl
How To Uninstall perl-MooseX-Log-Log4perl on Fedora 36
To uninstall only the perl-MooseX-Log-Log4perl
package we can use the following command:
sudo dnf remove perl-MooseX-Log-Log4perl
perl-MooseX-Log-Log4perl Package Contents on Fedora 36
/usr/share/doc/perl-MooseX-Log-Log4perl
/usr/share/doc/perl-MooseX-Log-Log4perl/Changes
/usr/share/doc/perl-MooseX-Log-Log4perl/README
/usr/share/doc/perl-MooseX-Log-Log4perl/t
/usr/share/doc/perl-MooseX-Log-Log4perl/t/00load.t
/usr/share/doc/perl-MooseX-Log-Log4perl/t/01basic.t
/usr/share/doc/perl-MooseX-Log-Log4perl/t/02easy.t
/usr/share/doc/perl-MooseX-Log-Log4perl/t/03inheritance.t
/usr/share/doc/perl-MooseX-Log-Log4perl/t/99bench.t
/usr/share/doc/perl-MooseX-Log-Log4perl/t/perl-critic.t
/usr/share/doc/perl-MooseX-Log-Log4perl/t/perlcriticrc
/usr/share/doc/perl-MooseX-Log-Log4perl/t/pod.t
/usr/share/doc/perl-MooseX-Log-Log4perl/t/podcoverage.t
/usr/share/man/man3/MooseX::Log::Log4perl.3pm.gz
/usr/share/man/man3/MooseX::Log::Log4perl::Easy.3pm.gz
/usr/share/perl5/vendor_perl/MooseX
/usr/share/perl5/vendor_perl/MooseX/Log
/usr/share/perl5/vendor_perl/MooseX/Log/Log4perl
/usr/share/perl5/vendor_perl/MooseX/Log/Log4perl.pm
/usr/share/perl5/vendor_perl/MooseX/Log/Log4perl/Easy.pm
References
Summary
In this tutorial we learn how to install perl-MooseX-Log-Log4perl
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).