How To Install perl-Encode on CentOS 8
Introduction
In this tutorial we learn how to install perl-Encode
on CentOS 8.
What is perl-Encode
The Encode module provides the interface between Perl strings and the rest of the system. Perl strings are sequences of characters. perl-Encode 4 2.97 3.el8 x86_64 1.5 M perl-Encode-2.97-3.el8.src.rpm baseos Character encodings in Perl http (GPL+ or Artistic) and Artistic 2.0 and UCD The Encode module provides the interface between Perl strings and the rest of the system. Perl strings are sequences of characters.
We can use yum
or dnf
to install perl-Encode
on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Encode.
Install perl-Encode on CentOS 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install perl-Encode
using dnf
by running the following command:
sudo dnf -y install perl-Encode
Install perl-Encode on CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install perl-Encode
using yum
by running the following command:
sudo yum -y install perl-Encode
How To Uninstall perl-Encode on CentOS 8
To uninstall only the perl-Encode
package we can use the following command:
sudo dnf remove perl-Encode
perl-Encode Package Contents on CentOS 8
/usr/bin/encguess
/usr/bin/piconv
/usr/lib/.build-id
/usr/lib/.build-id/13
/usr/lib/.build-id/13/1b482aaf1ff1563a3cc2c24d3b16bbcb10f223
/usr/lib/.build-id/23
/usr/lib/.build-id/23/3175065a8980663c6827c9a85cc00555a7089c
/usr/lib/.build-id/2f
/usr/lib/.build-id/2f/bdf6ad6431c168f195f76550e52d37aa76eebe
/usr/lib/.build-id/30
/usr/lib/.build-id/30/f4f2e8676ca2dcf6a47ec488f196e0d82c9f41
/usr/lib/.build-id/38
/usr/lib/.build-id/38/06d8e072ab1eb3e90ffd93cc86e41a303e47ab
/usr/lib/.build-id/66
/usr/lib/.build-id/66/72e4dd69f3847a2e8ef1e787a8137855d00dc6
/usr/lib/.build-id/ac
/usr/lib/.build-id/ac/d7a00cd42172246f597f4a746d929e14c85bcb
/usr/lib/.build-id/ad
/usr/lib/.build-id/ad/b20bd4e96be6e04544dea70253a93fa06b25ea
/usr/lib/.build-id/d9
/usr/lib/.build-id/d9/a5b31cbf6b9f8faa530e26e4ef02d38674a398
/usr/lib64/perl5/vendor_perl/Encode
/usr/lib64/perl5/vendor_perl/Encode.pm
/usr/lib64/perl5/vendor_perl/Encode/Alias.pm
/usr/lib64/perl5/vendor_perl/Encode/Byte.pm
/usr/lib64/perl5/vendor_perl/Encode/CJKConstants.pm
/usr/lib64/perl5/vendor_perl/Encode/CN
/usr/lib64/perl5/vendor_perl/Encode/CN.pm
/usr/lib64/perl5/vendor_perl/Encode/CN/HZ.pm
/usr/lib64/perl5/vendor_perl/Encode/Config.pm
/usr/lib64/perl5/vendor_perl/Encode/EBCDIC.pm
/usr/lib64/perl5/vendor_perl/Encode/Encoder.pm
/usr/lib64/perl5/vendor_perl/Encode/Encoding.pm
/usr/lib64/perl5/vendor_perl/Encode/GSM0338.pm
/usr/lib64/perl5/vendor_perl/Encode/Guess.pm
/usr/lib64/perl5/vendor_perl/Encode/JP
/usr/lib64/perl5/vendor_perl/Encode/JP.pm
/usr/lib64/perl5/vendor_perl/Encode/JP/H2Z.pm
/usr/lib64/perl5/vendor_perl/Encode/JP/JIS7.pm
/usr/lib64/perl5/vendor_perl/Encode/KR
/usr/lib64/perl5/vendor_perl/Encode/KR.pm
/usr/lib64/perl5/vendor_perl/Encode/KR/2022_KR.pm
/usr/lib64/perl5/vendor_perl/Encode/MIME
/usr/lib64/perl5/vendor_perl/Encode/MIME/Header
/usr/lib64/perl5/vendor_perl/Encode/MIME/Header.pm
/usr/lib64/perl5/vendor_perl/Encode/MIME/Header/ISO_2022_JP.pm
/usr/lib64/perl5/vendor_perl/Encode/MIME/Name.pm
/usr/lib64/perl5/vendor_perl/Encode/PerlIO.pod
/usr/lib64/perl5/vendor_perl/Encode/Supported.pod
/usr/lib64/perl5/vendor_perl/Encode/Symbol.pm
/usr/lib64/perl5/vendor_perl/Encode/TW.pm
/usr/lib64/perl5/vendor_perl/Encode/Unicode
/usr/lib64/perl5/vendor_perl/Encode/Unicode.pm
/usr/lib64/perl5/vendor_perl/Encode/Unicode/UTF7.pm
/usr/lib64/perl5/vendor_perl/auto/Encode
/usr/lib64/perl5/vendor_perl/auto/Encode/Byte
/usr/lib64/perl5/vendor_perl/auto/Encode/Byte/Byte.so
/usr/lib64/perl5/vendor_perl/auto/Encode/CN
/usr/lib64/perl5/vendor_perl/auto/Encode/CN/CN.so
/usr/lib64/perl5/vendor_perl/auto/Encode/EBCDIC
/usr/lib64/perl5/vendor_perl/auto/Encode/EBCDIC/EBCDIC.so
/usr/lib64/perl5/vendor_perl/auto/Encode/Encode.so
/usr/lib64/perl5/vendor_perl/auto/Encode/JP
/usr/lib64/perl5/vendor_perl/auto/Encode/JP/JP.so
/usr/lib64/perl5/vendor_perl/auto/Encode/KR
/usr/lib64/perl5/vendor_perl/auto/Encode/KR/KR.so
/usr/lib64/perl5/vendor_perl/auto/Encode/Symbol
/usr/lib64/perl5/vendor_perl/auto/Encode/Symbol/Symbol.so
/usr/lib64/perl5/vendor_perl/auto/Encode/TW
/usr/lib64/perl5/vendor_perl/auto/Encode/TW/TW.so
/usr/lib64/perl5/vendor_perl/auto/Encode/Unicode
/usr/lib64/perl5/vendor_perl/auto/Encode/Unicode/Unicode.so
/usr/share/doc/perl-Encode
/usr/share/doc/perl-Encode/AUTHORS
/usr/share/doc/perl-Encode/Changes
/usr/share/doc/perl-Encode/README
/usr/share/man/man1/encguess.1.gz
/usr/share/man/man1/piconv.1.gz
/usr/share/man/man3/Encode.3pm.gz
/usr/share/man/man3/Encode::Alias.3pm.gz
/usr/share/man/man3/Encode::CJKConstants.3pm.gz
/usr/share/man/man3/Encode::CN::HZ.3pm.gz
/usr/share/man/man3/Encode::Config.3pm.gz
/usr/share/man/man3/Encode::Encoder.3pm.gz
/usr/share/man/man3/Encode::Encoding.3pm.gz
/usr/share/man/man3/Encode::GSM0338.3pm.gz
/usr/share/man/man3/Encode::Guess.3pm.gz
/usr/share/man/man3/Encode::JP::H2Z.3pm.gz
/usr/share/man/man3/Encode::JP::JIS7.3pm.gz
/usr/share/man/man3/Encode::KR::2022_KR.3pm.gz
/usr/share/man/man3/Encode::MIME::Header.3pm.gz
/usr/share/man/man3/Encode::MIME::Name.3pm.gz
/usr/share/man/man3/Encode::PerlIO.3pm.gz
/usr/share/man/man3/Encode::Supported.3pm.gz
/usr/share/man/man3/Encode::Unicode::UTF7.3pm.gz
/usr/bin/encguess
/usr/bin/piconv
/usr/lib/.build-id
/usr/lib/.build-id/56
/usr/lib/.build-id/56/0af631e3869696e18d43a37360de9298b04e4b
/usr/lib/.build-id/70
/usr/lib/.build-id/70/3a0c989f22b10144a215215fd146e27a2fe91d
/usr/lib/.build-id/78
/usr/lib/.build-id/78/6da4ab48eeb8591fabb0ccab5e621e1b818dfa
/usr/lib/.build-id/98
/usr/lib/.build-id/98/377d08381451870834c261380d682a5c2a6fc8
/usr/lib/.build-id/9d
/usr/lib/.build-id/9d/5864b02d69b659333a271c68035a4a9a5ba79a
/usr/lib/.build-id/ac
/usr/lib/.build-id/ac/c8998c2d1c5f55c2aed371c8f97ddc05e73a42
/usr/lib/.build-id/b1
/usr/lib/.build-id/b1/bd896a012e175bd370289aafb1d57d265236d9
/usr/lib/.build-id/c0
/usr/lib/.build-id/c0/2c704670332b1aaa687d398e5512320059204d
/usr/lib/.build-id/dd
/usr/lib/.build-id/dd/36aba572006cfcf8675fd21afbbdef7525c094
/usr/lib/perl5/vendor_perl/Encode
/usr/lib/perl5/vendor_perl/Encode.pm
/usr/lib/perl5/vendor_perl/Encode/Alias.pm
/usr/lib/perl5/vendor_perl/Encode/Byte.pm
/usr/lib/perl5/vendor_perl/Encode/CJKConstants.pm
/usr/lib/perl5/vendor_perl/Encode/CN
/usr/lib/perl5/vendor_perl/Encode/CN.pm
/usr/lib/perl5/vendor_perl/Encode/CN/HZ.pm
/usr/lib/perl5/vendor_perl/Encode/Config.pm
/usr/lib/perl5/vendor_perl/Encode/EBCDIC.pm
/usr/lib/perl5/vendor_perl/Encode/Encoder.pm
/usr/lib/perl5/vendor_perl/Encode/Encoding.pm
/usr/lib/perl5/vendor_perl/Encode/GSM0338.pm
/usr/lib/perl5/vendor_perl/Encode/Guess.pm
/usr/lib/perl5/vendor_perl/Encode/JP
/usr/lib/perl5/vendor_perl/Encode/JP.pm
/usr/lib/perl5/vendor_perl/Encode/JP/H2Z.pm
/usr/lib/perl5/vendor_perl/Encode/JP/JIS7.pm
/usr/lib/perl5/vendor_perl/Encode/KR
/usr/lib/perl5/vendor_perl/Encode/KR.pm
/usr/lib/perl5/vendor_perl/Encode/KR/2022_KR.pm
/usr/lib/perl5/vendor_perl/Encode/MIME
/usr/lib/perl5/vendor_perl/Encode/MIME/Header
/usr/lib/perl5/vendor_perl/Encode/MIME/Header.pm
/usr/lib/perl5/vendor_perl/Encode/MIME/Header/ISO_2022_JP.pm
/usr/lib/perl5/vendor_perl/Encode/MIME/Name.pm
/usr/lib/perl5/vendor_perl/Encode/PerlIO.pod
/usr/lib/perl5/vendor_perl/Encode/Supported.pod
/usr/lib/perl5/vendor_perl/Encode/Symbol.pm
/usr/lib/perl5/vendor_perl/Encode/TW.pm
/usr/lib/perl5/vendor_perl/Encode/Unicode
/usr/lib/perl5/vendor_perl/Encode/Unicode.pm
/usr/lib/perl5/vendor_perl/Encode/Unicode/UTF7.pm
/usr/lib/perl5/vendor_perl/auto/Encode
/usr/lib/perl5/vendor_perl/auto/Encode/Byte
/usr/lib/perl5/vendor_perl/auto/Encode/Byte/Byte.so
/usr/lib/perl5/vendor_perl/auto/Encode/CN
/usr/lib/perl5/vendor_perl/auto/Encode/CN/CN.so
/usr/lib/perl5/vendor_perl/auto/Encode/EBCDIC
/usr/lib/perl5/vendor_perl/auto/Encode/EBCDIC/EBCDIC.so
/usr/lib/perl5/vendor_perl/auto/Encode/Encode.so
/usr/lib/perl5/vendor_perl/auto/Encode/JP
/usr/lib/perl5/vendor_perl/auto/Encode/JP/JP.so
/usr/lib/perl5/vendor_perl/auto/Encode/KR
/usr/lib/perl5/vendor_perl/auto/Encode/KR/KR.so
/usr/lib/perl5/vendor_perl/auto/Encode/Symbol
/usr/lib/perl5/vendor_perl/auto/Encode/Symbol/Symbol.so
/usr/lib/perl5/vendor_perl/auto/Encode/TW
/usr/lib/perl5/vendor_perl/auto/Encode/TW/TW.so
/usr/lib/perl5/vendor_perl/auto/Encode/Unicode
/usr/lib/perl5/vendor_perl/auto/Encode/Unicode/Unicode.so
/usr/share/doc/perl-Encode
/usr/share/doc/perl-Encode/AUTHORS
/usr/share/doc/perl-Encode/Changes
/usr/share/doc/perl-Encode/README
/usr/share/man/man1/encguess.1.gz
/usr/share/man/man1/piconv.1.gz
/usr/share/man/man3/Encode.3pm.gz
/usr/share/man/man3/Encode::Alias.3pm.gz
/usr/share/man/man3/Encode::CJKConstants.3pm.gz
/usr/share/man/man3/Encode::CN::HZ.3pm.gz
/usr/share/man/man3/Encode::Config.3pm.gz
/usr/share/man/man3/Encode::Encoder.3pm.gz
/usr/share/man/man3/Encode::Encoding.3pm.gz
/usr/share/man/man3/Encode::GSM0338.3pm.gz
/usr/share/man/man3/Encode::Guess.3pm.gz
/usr/share/man/man3/Encode::JP::H2Z.3pm.gz
/usr/share/man/man3/Encode::JP::JIS7.3pm.gz
/usr/share/man/man3/Encode::KR::2022_KR.3pm.gz
/usr/share/man/man3/Encode::MIME::Header.3pm.gz
/usr/share/man/man3/Encode::MIME::Name.3pm.gz
/usr/share/man/man3/Encode::PerlIO.3pm.gz
/usr/share/man/man3/Encode::Supported.3pm.gz
/usr/share/man/man3/Encode::Unicode::UTF7.3pm.gz
References
- [perl-Encode website](http://search.cpan.org/dist/Encode/ http://search.cpan.org/dist/Encode/)
Summary
In this tutorial we learn how to install perl-Encode
on CentOS 8 using yum and dnf.