How To Install perl-Apache-LogRegex on Fedora 36
Introduction
In this tutorial we learn how to install perl-Apache-LogRegex
on Fedora 36.
What is perl-Apache-LogRegex
Designed as a simple class to parse Apache log files. It will construct a regex that will parse the given log file format and can then parse lines from the log file line by line returning a hash of each line.
We can use yum
or dnf
to install perl-Apache-LogRegex
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Apache-LogRegex.
Install perl-Apache-LogRegex 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-Apache-LogRegex
using dnf
by running the following command:
sudo dnf -y install perl-Apache-LogRegex
Install perl-Apache-LogRegex 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-Apache-LogRegex
using yum
by running the following command:
sudo yum -y install perl-Apache-LogRegex
How To Uninstall perl-Apache-LogRegex on Fedora 36
To uninstall only the perl-Apache-LogRegex
package we can use the following command:
sudo dnf remove perl-Apache-LogRegex
perl-Apache-LogRegex Package Contents on Fedora 36
/usr/share/doc/perl-Apache-LogRegex
/usr/share/doc/perl-Apache-LogRegex/README.md
/usr/share/licenses/perl-Apache-LogRegex
/usr/share/licenses/perl-Apache-LogRegex/LICENSE
/usr/share/man/man3/Apache::LogRegex.3pm.gz
/usr/share/perl5/vendor_perl/Apache
/usr/share/perl5/vendor_perl/Apache/LogRegex.pm
References
Summary
In this tutorial we learn how to install perl-Apache-LogRegex
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).