How To Install perl-encoding-warnings on Fedora 36

In this tutorial we learn how to install perl-encoding-warnings in Fedora 36. perl-encoding-warnings is Warn on implicit encoding conversions

Introduction

In this tutorial we learn how to install perl-encoding-warnings on Fedora 36.

What is perl-encoding-warnings

As of Perl 5.26.0, this module has no effect. The internal Perl feature that was used to implement this module has been removed. Hence, if you load this module on Perl 5.26.0, you will get one warning that the module is no longer supported; and the module will do nothing thereafter.

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

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

sudo dnf -y install perl-encoding-warnings

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

sudo yum -y install perl-encoding-warnings

How To Uninstall perl-encoding-warnings on Fedora 36

To uninstall only the perl-encoding-warnings package we can use the following command:

sudo dnf remove perl-encoding-warnings

perl-encoding-warnings Package Contents on Fedora 36

/usr/share/man/man3/encoding::warnings.3pm.gz
/usr/share/perl5/encoding
/usr/share/perl5/encoding/warnings.pm

References

Summary

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