How To Install perl-WWW-Curl on Rocky Linux 8

In this tutorial we learn how to install perl-WWW-Curl on Rocky Linux 8. perl-WWW-Curl is Perl extension interface for libcurl

Introduction

In this tutorial we learn how to install perl-WWW-Curl on Rocky Linux 8.

What is perl-WWW-Curl

WWW

We can use yum or dnf to install perl-WWW-Curl on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install perl-WWW-Curl.

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

sudo dnf -y install perl-WWW-Curl

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

sudo yum -y install perl-WWW-Curl

How To Uninstall perl-WWW-Curl on Rocky Linux 8

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

sudo dnf remove perl-WWW-Curl

perl-WWW-Curl Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/78
/usr/lib/.build-id/78/9154ae12945c8d602001d4eaeccc11f5249536
/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
/usr/share/doc/perl-WWW-Curl/Changes
/usr/share/doc/perl-WWW-Curl/README
/usr/share/licenses/perl-WWW-Curl
/usr/share/licenses/perl-WWW-Curl/LICENSE
/usr/share/man/man3/WWW::Curl.3pm.gz

References

Summary

In this tutorial we learn how to install perl-WWW-Curl on Rocky Linux 8 using yum and dnf.