How To Install perl-DB_File-Lock on Fedora 36

In this tutorial we learn how to install perl-DB_File-Lock in Fedora 36. perl-DB_File-Lock is Locking with flock wrapper for DB_File

Introduction

In this tutorial we learn how to install perl-DB_File-Lock on Fedora 36.

What is perl-DB_File-Lock

This module provides a wrapper for the DB_File module, adding locking.

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

Install perl-DB_File-Lock 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-DB_File-Lock using dnf by running the following command:

sudo dnf -y install perl-DB_File-Lock

Install perl-DB_File-Lock 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-DB_File-Lock using yum by running the following command:

sudo yum -y install perl-DB_File-Lock

How To Uninstall perl-DB_File-Lock on Fedora 36

To uninstall only the perl-DB_File-Lock package we can use the following command:

sudo dnf remove perl-DB_File-Lock

perl-DB_File-Lock Package Contents on Fedora 36

/usr/share/doc/perl-DB_File-Lock
/usr/share/doc/perl-DB_File-Lock/Changes
/usr/share/doc/perl-DB_File-Lock/README
/usr/share/man/man3/DB_File::Lock.3pm.gz
/usr/share/perl5/vendor_perl/DB_File
/usr/share/perl5/vendor_perl/DB_File/Lock.pm

References

Summary

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