How To Install perl-Text-Iconv.x86_64 on Amazon Linux 2

In this tutorial we learn how to install perl-Text-Iconv.x86_64 in Amazon Linux 2. perl-Text-Iconv.x86_64 is Perl interface to iconv() codeset conversion function

Introduction

In this tutorial we learn how to install perl-Text-Iconv.x86_64 on Amazon Linux 2.

What is perl-Text-Iconv.x86_64

The Text function as defined by the Single UNIX Specification. The convert() method converts the encoding of characters in the input string from the fromcode codeset to the tocode codeset, and returns the result. Settings of fromcode and tocode and their permitted combinations are implementation-dependent. Valid values are specified in the system documentation.

We can use yum to install perl-Text-Iconv.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Text-Iconv.x86_64.

Install perl-Text-Iconv.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install perl-Text-Iconv.x86_64 using yum by running the following command:

sudo yum -y install perl-Text-Iconv.x86_64

How To Uninstall perl-Text-Iconv.x86_64 on Amazon Linux 2

To uninstall only the perl-Text-Iconv.x86_64 package we can use the following command:

sudo yum remove perl-Text-Iconv.x86_64

perl-Text-Iconv.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/perl5/vendor_perl/Text
/usr/lib64/perl5/vendor_perl/Text/Iconv.pm
/usr/lib64/perl5/vendor_perl/auto/Text
/usr/lib64/perl5/vendor_perl/auto/Text/Iconv
/usr/lib64/perl5/vendor_perl/auto/Text/Iconv/Iconv.so
/usr/lib64/perl5/vendor_perl/auto/Text/Iconv/autosplit.ix
/usr/share/doc/perl-Text-Iconv-1.7
/usr/share/doc/perl-Text-Iconv-1.7/Changes
/usr/share/doc/perl-Text-Iconv-1.7/README
/usr/share/man/man3/Text::Iconv.3pm.gz

References

Summary

In this tutorial we learn how to install perl-Text-Iconv.x86_64 on Amazon Linux 2 using yum.