How To Install perl-Template-Provider-Encoding on Fedora 36

In this tutorial we learn how to install perl-Template-Provider-Encoding in Fedora 36. perl-Template-Provider-Encoding is Explicitly declare encodings of your templates

Introduction

In this tutorial we learn how to install perl-Template-Provider-Encoding on Fedora 36.

What is perl-Template-Provider-Encoding

Template template using its declaration. You have to declare encoding of the template in the 1st line of the template using the (fake) encoding TT plugin; otherwise the template is handled as utf-8.

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

Install perl-Template-Provider-Encoding 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-Template-Provider-Encoding using dnf by running the following command:

sudo dnf -y install perl-Template-Provider-Encoding

Install perl-Template-Provider-Encoding 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-Template-Provider-Encoding using yum by running the following command:

sudo yum -y install perl-Template-Provider-Encoding

How To Uninstall perl-Template-Provider-Encoding on Fedora 36

To uninstall only the perl-Template-Provider-Encoding package we can use the following command:

sudo dnf remove perl-Template-Provider-Encoding

perl-Template-Provider-Encoding Package Contents on Fedora 36

/usr/share/doc/perl-Template-Provider-Encoding
/usr/share/doc/perl-Template-Provider-Encoding/Changes
/usr/share/doc/perl-Template-Provider-Encoding/t
/usr/share/doc/perl-Template-Provider-Encoding/t/00_compile.t
/usr/share/doc/perl-Template-Provider-Encoding/t/01_unicode.t
/usr/share/doc/perl-Template-Provider-Encoding/t/02_obj.t
/usr/share/doc/perl-Template-Provider-Encoding/t/euc-jp.tt
/usr/share/doc/perl-Template-Provider-Encoding/t/utf-8-bom.tt
/usr/share/doc/perl-Template-Provider-Encoding/t/utf-8-wo-encoding.tt
/usr/share/doc/perl-Template-Provider-Encoding/t/utf-8.tt
/usr/share/man/man3/Template::Plugin::encoding.3pm.gz
/usr/share/man/man3/Template::Provider::Encoding.3pm.gz
/usr/share/man/man3/Template::Stash::ForceUTF8.3pm.gz
/usr/share/perl5/vendor_perl/Template
/usr/share/perl5/vendor_perl/Template/Plugin
/usr/share/perl5/vendor_perl/Template/Plugin/encoding.pm
/usr/share/perl5/vendor_perl/Template/Provider
/usr/share/perl5/vendor_perl/Template/Provider/Encoding.pm
/usr/share/perl5/vendor_perl/Template/Stash
/usr/share/perl5/vendor_perl/Template/Stash/ForceUTF8.pm

References

Summary

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