How To Install perl-Encode-HanExtra on Rocky Linux 8
Introduction
In this tutorial we learn how to install perl-Encode-HanExtra
on Rocky Linux 8.
What is perl-Encode-HanExtra
Perl 5.7.3 and later ships with an adequate set of Chinese encodings, including the commonly used CP950, CP936 (also known as GBK), Big5 (alias for Big5-Eten), Big5-HKSCS, EUC-CN, HZ, and ISO-IR-165. However, the numbers of Chinese encodings are staggering, and a complete coverage will easily increase the size of perl distribution by several megabytes; hence, this CPAN module tries to provide the rest of them. If you are using Perl 5.8 or later, Encode automatically load the extra encodings for you, so there’s no need to explicitly write use Encode
We can use yum
or dnf
to install perl-Encode-HanExtra
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Encode-HanExtra.
Install perl-Encode-HanExtra on Rocky Linux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install perl-Encode-HanExtra
using dnf
by running the following command:
sudo dnf -y install perl-Encode-HanExtra
Install perl-Encode-HanExtra on Rocky Linux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install perl-Encode-HanExtra
using yum
by running the following command:
sudo yum -y install perl-Encode-HanExtra
How To Uninstall perl-Encode-HanExtra on Rocky Linux 8
To uninstall only the perl-Encode-HanExtra
package we can use the following command:
sudo dnf remove perl-Encode-HanExtra
perl-Encode-HanExtra Package Contents on Rocky Linux 8
/usr/lib/.build-id
/usr/lib/.build-id/2b
/usr/lib/.build-id/2b/6e833c56ce4543359d5466d1be5592918173c3
/usr/lib64/perl5/vendor_perl/Encode
/usr/lib64/perl5/vendor_perl/Encode/HanExtra.pm
/usr/lib64/perl5/vendor_perl/Encode/TW
/usr/lib64/perl5/vendor_perl/Encode/TW/Unisys
/usr/lib64/perl5/vendor_perl/Encode/TW/Unisys/SOSI1.pm
/usr/lib64/perl5/vendor_perl/Encode/TW/Unisys/SOSI2.pm
/usr/lib64/perl5/vendor_perl/auto/Encode
/usr/lib64/perl5/vendor_perl/auto/Encode/HanExtra
/usr/lib64/perl5/vendor_perl/auto/Encode/HanExtra/HanExtra.so
/usr/share/doc/perl-Encode-HanExtra
/usr/share/doc/perl-Encode-HanExtra/Changes
/usr/share/doc/perl-Encode-HanExtra/README
/usr/share/man/man3/Encode::HanExtra.3pm.gz
/usr/share/man/man3/Encode::TW::Unisys::SOSI1.3pm.gz
/usr/share/man/man3/Encode::TW::Unisys::SOSI2.3pm.gz
References
Summary
In this tutorial we learn how to install perl-Encode-HanExtra
on Rocky Linux 8 using yum and dnf.