How To Install perl-Tie-File on Fedora 36

In this tutorial we learn how to install perl-Tie-File in Fedora 36. perl-Tie-File is Access the lines of a disk file via a Perl array

Introduction

In this tutorial we learn how to install perl-Tie-File on Fedora 36.

What is perl-Tie-File

Tie array corresponds to a record in the file. The first line of the file is element 0 of the array; the second line is element 1, and so on. The file is not loaded into memory, so this will work even for gigantic files. Changes to the array are reflected in the file immediately.

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

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

sudo dnf -y install perl-Tie-File

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

sudo yum -y install perl-Tie-File

How To Uninstall perl-Tie-File on Fedora 36

To uninstall only the perl-Tie-File package we can use the following command:

sudo dnf remove perl-Tie-File

perl-Tie-File Package Contents on Fedora 36

/usr/share/man/man3/Tie::File.3pm.gz
/usr/share/perl5/Tie
/usr/share/perl5/Tie/File.pm

References

Summary

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