How To Install perl-WWW-Curl.x86_64 on Amazon Linux 2

In this tutorial we learn how to install perl-WWW-Curl.x86_64 in Amazon Linux 2. perl-WWW-Curl.x86_64 is Perl extension interface for libcurl

Introduction

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

What is perl-WWW-Curl.x86_64

WWW

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

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

sudo yum -y install perl-WWW-Curl.x86_64

How To Uninstall perl-WWW-Curl.x86_64 on Amazon Linux 2

To uninstall only the perl-WWW-Curl.x86_64 package we can use the following command:

sudo yum remove perl-WWW-Curl.x86_64

perl-WWW-Curl.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/perl5/vendor_perl/WWW
/usr/lib64/perl5/vendor_perl/WWW/Curl
/usr/lib64/perl5/vendor_perl/WWW/Curl.pm
/usr/lib64/perl5/vendor_perl/WWW/Curl/Easy.pm
/usr/lib64/perl5/vendor_perl/WWW/Curl/Form.pm
/usr/lib64/perl5/vendor_perl/WWW/Curl/Multi.pm
/usr/lib64/perl5/vendor_perl/WWW/Curl/Share.pm
/usr/lib64/perl5/vendor_perl/auto/WWW
/usr/lib64/perl5/vendor_perl/auto/WWW/Curl
/usr/lib64/perl5/vendor_perl/auto/WWW/Curl/Curl.so
/usr/share/doc/perl-WWW-Curl-4.15
/usr/share/doc/perl-WWW-Curl-4.15/Changes
/usr/share/doc/perl-WWW-Curl-4.15/LICENSE
/usr/share/doc/perl-WWW-Curl-4.15/README
/usr/share/man/man3/WWW::Curl.3pm.gz

References

Summary

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