How To Install perl-PerlIO-locale on Fedora 36

In this tutorial we learn how to install perl-PerlIO-locale in Fedora 36. perl-PerlIO-locale is PerlIO layer to use the encoding of the current locale

Introduction

In this tutorial we learn how to install perl-PerlIO-locale on Fedora 36.

What is perl-PerlIO-locale

This is mostly a per-file-handle version of the open pragma, when used under the form use open ’ The encoding for the opened file will be set to the encoding corresponding to the locale currently in effect, if perl can guess it.

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

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

sudo dnf -y install perl-PerlIO-locale

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

sudo yum -y install perl-PerlIO-locale

How To Uninstall perl-PerlIO-locale on Fedora 36

To uninstall only the perl-PerlIO-locale package we can use the following command:

sudo dnf remove perl-PerlIO-locale

perl-PerlIO-locale Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/c7
/usr/lib/.build-id/c7/7ccdf9d71917e301fbed2591feb4e633320e76
/usr/lib64/perl5/vendor_perl/PerlIO
/usr/lib64/perl5/vendor_perl/PerlIO/locale.pm
/usr/lib64/perl5/vendor_perl/auto/PerlIO
/usr/lib64/perl5/vendor_perl/auto/PerlIO/locale
/usr/lib64/perl5/vendor_perl/auto/PerlIO/locale/locale.so
/usr/share/doc/perl-PerlIO-locale
/usr/share/doc/perl-PerlIO-locale/README
/usr/share/man/man3/PerlIO::locale.3pm.gz

References

Summary

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