How To Install perl-Log-Contextual on AlmaLinux 8

In this tutorial we learn how to install perl-Log-Contextual in AlmaLinux 8. perl-Log-Contextual is Simple logging interface with a contextual log

Introduction

In this tutorial we learn how to install perl-Log-Contextual on AlmaLinux 8.

What is perl-Log-Contextual

This module is a simple interface to extensible logging. It is bundled with a really basic logger, Log should use a real logger instead of that. For something more serious but not overly complicated, try Log

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

Install perl-Log-Contextual on AlmaLinux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install perl-Log-Contextual using dnf by running the following command:

sudo dnf -y install perl-Log-Contextual

Install perl-Log-Contextual on AlmaLinux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install perl-Log-Contextual using yum by running the following command:

sudo yum -y install perl-Log-Contextual

How To Uninstall perl-Log-Contextual on AlmaLinux 8

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

sudo dnf remove perl-Log-Contextual

References

Summary

In this tutorial we learn how to install perl-Log-Contextual on AlmaLinux 8 using yum and dnf.