How To Install perl-Test-Log-Log4perl on Fedora 36

In this tutorial we learn how to install perl-Test-Log-Log4perl in Fedora 36. perl-Test-Log-Log4perl is Test log4perl

Introduction

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

What is perl-Test-Log-Log4perl

This module can be used to test that you’re logging the right thing with Log by your code.

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

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

sudo dnf -y install perl-Test-Log-Log4perl

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

sudo yum -y install perl-Test-Log-Log4perl

How To Uninstall perl-Test-Log-Log4perl on Fedora 36

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

sudo dnf remove perl-Test-Log-Log4perl

perl-Test-Log-Log4perl Package Contents on Fedora 36

/usr/share/doc/perl-Test-Log-Log4perl
/usr/share/doc/perl-Test-Log-Log4perl/Changes
/usr/share/doc/perl-Test-Log-Log4perl/README
/usr/share/man/man3/Test::Log::Log4perl.3pm.gz
/usr/share/perl5/vendor_perl/Test
/usr/share/perl5/vendor_perl/Test/Log
/usr/share/perl5/vendor_perl/Test/Log/Log4perl.pm

References

Summary

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