How To Install perl-File-LoadLines on Fedora 36

In this tutorial we learn how to install perl-File-LoadLines in Fedora 36. perl-File-LoadLines is Loads the contents of a text file into an array of lines

Introduction

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

What is perl-File-LoadLines

File-LoadLines provides an easy way to load the contents of a text file into an array of lines. It automatically handles ASCII, Latin and UTF-8 text. When the file has a BOM, it handles UTF-8, UTF-16 LE and BE, and UTF-32 LE and BE. Recognized line terminators are NL (Unix, Linux), CRLF (DOS, Windows) and CR (Mac).

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

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

sudo dnf -y install perl-File-LoadLines

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

sudo yum -y install perl-File-LoadLines

How To Uninstall perl-File-LoadLines on Fedora 36

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

sudo dnf remove perl-File-LoadLines

perl-File-LoadLines Package Contents on Fedora 36

/usr/share/doc/perl-File-LoadLines
/usr/share/doc/perl-File-LoadLines/Changes
/usr/share/doc/perl-File-LoadLines/README.md
/usr/share/man/man3/File::LoadLines.3pm.gz
/usr/share/perl5/vendor_perl/File
/usr/share/perl5/vendor_perl/File/LoadLines.pm

References

Summary

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