How To Install perl-libwww-perl on Rocky Linux 8

In this tutorial we learn how to install perl-libwww-perl on Rocky Linux 8. perl-libwww-perl is A Perl interface to the World-Wide Web

Introduction

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

What is perl-libwww-perl

The libwww-perl collection is a set of Perl modules which provides a simple and consistent application programming interface to the World-Wide Web. The main focus of the library is to provide classes and functions that allow you to write WWW clients. The library also contain modules that are of more general use and even classes that help you implement simple HTTP servers.

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

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

sudo dnf -y install perl-libwww-perl

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

sudo yum -y install perl-libwww-perl

How To Uninstall perl-libwww-perl on Rocky Linux 8

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

sudo dnf remove perl-libwww-perl

perl-libwww-perl Package Contents on Rocky Linux 8

/usr/bin/GET
/usr/bin/HEAD
/usr/bin/POST
/usr/bin/lwp-download
/usr/bin/lwp-dump
/usr/bin/lwp-mirror
/usr/bin/lwp-request
/usr/share/doc/perl-libwww-perl
/usr/share/doc/perl-libwww-perl/Changes
/usr/share/doc/perl-libwww-perl/README.SSL
/usr/share/licenses/perl-libwww-perl
/usr/share/licenses/perl-libwww-perl/LICENSE
/usr/share/man/man1/GET.1.gz
/usr/share/man/man1/HEAD.1.gz
/usr/share/man/man1/POST.1.gz
/usr/share/man/man1/lwp-download.1.gz
/usr/share/man/man1/lwp-dump.1.gz
/usr/share/man/man1/lwp-mirror.1.gz
/usr/share/man/man1/lwp-request.1.gz
/usr/share/man/man3/LWP.3pm.gz
/usr/share/man/man3/LWP::Authen::Ntlm.3pm.gz
/usr/share/man/man3/LWP::ConnCache.3pm.gz
/usr/share/man/man3/LWP::Debug.3pm.gz
/usr/share/man/man3/LWP::MemberMixin.3pm.gz
/usr/share/man/man3/LWP::Protocol.3pm.gz
/usr/share/man/man3/LWP::RobotUA.3pm.gz
/usr/share/man/man3/LWP::Simple.3pm.gz
/usr/share/man/man3/LWP::UserAgent.3pm.gz
/usr/share/man/man3/libwww::lwpcook.3pm.gz
/usr/share/man/man3/libwww::lwptut.3pm.gz
/usr/share/perl5/vendor_perl/LWP
/usr/share/perl5/vendor_perl/LWP.pm
/usr/share/perl5/vendor_perl/LWP/Authen
/usr/share/perl5/vendor_perl/LWP/Authen/Basic.pm
/usr/share/perl5/vendor_perl/LWP/Authen/Digest.pm
/usr/share/perl5/vendor_perl/LWP/Authen/Ntlm.pm
/usr/share/perl5/vendor_perl/LWP/ConnCache.pm
/usr/share/perl5/vendor_perl/LWP/Debug
/usr/share/perl5/vendor_perl/LWP/Debug.pm
/usr/share/perl5/vendor_perl/LWP/Debug/TraceHTTP.pm
/usr/share/perl5/vendor_perl/LWP/DebugFile.pm
/usr/share/perl5/vendor_perl/LWP/MemberMixin.pm
/usr/share/perl5/vendor_perl/LWP/Protocol
/usr/share/perl5/vendor_perl/LWP/Protocol.pm
/usr/share/perl5/vendor_perl/LWP/Protocol/cpan.pm
/usr/share/perl5/vendor_perl/LWP/Protocol/data.pm
/usr/share/perl5/vendor_perl/LWP/Protocol/file.pm
/usr/share/perl5/vendor_perl/LWP/Protocol/ftp.pm
/usr/share/perl5/vendor_perl/LWP/Protocol/gopher.pm
/usr/share/perl5/vendor_perl/LWP/Protocol/http.pm
/usr/share/perl5/vendor_perl/LWP/Protocol/loopback.pm
/usr/share/perl5/vendor_perl/LWP/Protocol/mailto.pm
/usr/share/perl5/vendor_perl/LWP/Protocol/nntp.pm
/usr/share/perl5/vendor_perl/LWP/Protocol/nogo.pm
/usr/share/perl5/vendor_perl/LWP/RobotUA.pm
/usr/share/perl5/vendor_perl/LWP/Simple.pm
/usr/share/perl5/vendor_perl/LWP/UserAgent.pm
/usr/share/perl5/vendor_perl/libwww
/usr/share/perl5/vendor_perl/libwww/lwpcook.pod
/usr/share/perl5/vendor_perl/libwww/lwptut.pod

References

Summary

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