How To Install perl-Net-LibIDN.x86_64 on Amazon Linux 2

In this tutorial we learn how to install perl-Net-LibIDN.x86_64 in Amazon Linux 2. perl-Net-LibIDN.x86_64 is Perl bindings for GNU LibIDN

Introduction

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

What is perl-Net-LibIDN.x86_64

Provides perl bindings for GNU Libidn, a C library for handling Internationalized Domain Names according to IDNA (RFC 3490), in a way very much inspired by Turbo Fredriksson’s PHP-IDN.

We can use yum to install perl-Net-LibIDN.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-Net-LibIDN.x86_64.

Install perl-Net-LibIDN.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-Net-LibIDN.x86_64 using yum by running the following command:

sudo yum -y install perl-Net-LibIDN.x86_64

How To Uninstall perl-Net-LibIDN.x86_64 on Amazon Linux 2

To uninstall only the perl-Net-LibIDN.x86_64 package we can use the following command:

sudo yum remove perl-Net-LibIDN.x86_64

perl-Net-LibIDN.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/perl5/vendor_perl/Net
/usr/lib64/perl5/vendor_perl/Net/LibIDN.pm
/usr/lib64/perl5/vendor_perl/auto/Net
/usr/lib64/perl5/vendor_perl/auto/Net/LibIDN
/usr/lib64/perl5/vendor_perl/auto/Net/LibIDN/LibIDN.so
/usr/lib64/perl5/vendor_perl/auto/Net/LibIDN/autosplit.ix
/usr/share/doc/perl-Net-LibIDN-0.12
/usr/share/doc/perl-Net-LibIDN-0.12/Artistic
/usr/share/doc/perl-Net-LibIDN-0.12/Changes
/usr/share/doc/perl-Net-LibIDN-0.12/README
/usr/share/man/man3/Net::LibIDN.3pm.gz

References

Summary

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