How To Install perl-Unix-Syslog on Rocky Linux 8

In this tutorial we learn how to install perl-Unix-Syslog on Rocky Linux 8. perl-Unix-Syslog is Perl interface to the UNIX syslog(3) calls

Introduction

In this tutorial we learn how to install perl-Unix-Syslog on Rocky Linux 8.

What is perl-Unix-Syslog

This module provides an interface to the system logger syslogd(8) via Perl’s XSUBs. The implementation attempts to resemble the native libc-functions of your system, so that anyone being familiar with syslog.h should be able to use this module right away.

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

Install perl-Unix-Syslog on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install perl-Unix-Syslog

Install perl-Unix-Syslog on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install perl-Unix-Syslog

How To Uninstall perl-Unix-Syslog on Rocky Linux 8

To uninstall only the perl-Unix-Syslog package we can use the following command:

sudo dnf remove perl-Unix-Syslog

perl-Unix-Syslog Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/db
/usr/lib/.build-id/db/e610a972bf20dbf9c0d745c683925419c8decf
/usr/lib64/perl5/vendor_perl/Unix
/usr/lib64/perl5/vendor_perl/Unix/Syslog.pm
/usr/lib64/perl5/vendor_perl/auto/Unix
/usr/lib64/perl5/vendor_perl/auto/Unix/Syslog
/usr/lib64/perl5/vendor_perl/auto/Unix/Syslog/Syslog.so
/usr/share/doc/perl-Unix-Syslog
/usr/share/doc/perl-Unix-Syslog/Changes
/usr/share/doc/perl-Unix-Syslog/README
/usr/share/licenses/perl-Unix-Syslog
/usr/share/licenses/perl-Unix-Syslog/Artistic
/usr/share/man/man3/Unix::Syslog.3pm.gz

References

Summary

In this tutorial we learn how to install perl-Unix-Syslog on Rocky Linux 8 using yum and dnf.