How To Install perl-Test-LWP-UserAgent on Rocky Linux 8
Introduction
In this tutorial we learn how to install perl-Test-LWP-UserAgent
on Rocky Linux 8.
What is perl-Test-LWP-UserAgent
This module is a subclass of LWP level methods that are concerned with actually sending your request over the network, allowing an interception of that request and simulating a particular response. This greatly facilitates testing of client networking code where the server follows a known protocol.
We can use yum
or dnf
to install perl-Test-LWP-UserAgent
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Test-LWP-UserAgent.
Install perl-Test-LWP-UserAgent 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-Test-LWP-UserAgent
using dnf
by running the following command:
sudo dnf -y install perl-Test-LWP-UserAgent
Install perl-Test-LWP-UserAgent 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-Test-LWP-UserAgent
using yum
by running the following command:
sudo yum -y install perl-Test-LWP-UserAgent
How To Uninstall perl-Test-LWP-UserAgent on Rocky Linux 8
To uninstall only the perl-Test-LWP-UserAgent
package we can use the following command:
sudo dnf remove perl-Test-LWP-UserAgent
perl-Test-LWP-UserAgent Package Contents on Rocky Linux 8
/usr/share/doc/perl-Test-LWP-UserAgent
/usr/share/doc/perl-Test-LWP-UserAgent/CONTRIBUTING
/usr/share/doc/perl-Test-LWP-UserAgent/Changes
/usr/share/doc/perl-Test-LWP-UserAgent/README
/usr/share/doc/perl-Test-LWP-UserAgent/docs
/usr/share/doc/perl-Test-LWP-UserAgent/docs/advent_2012.pod
/usr/share/doc/perl-Test-LWP-UserAgent/examples
/usr/share/doc/perl-Test-LWP-UserAgent/examples/MyApp
/usr/share/doc/perl-Test-LWP-UserAgent/examples/MyApp/Client.pm
/usr/share/doc/perl-Test-LWP-UserAgent/examples/advent_2012_1.pl
/usr/share/doc/perl-Test-LWP-UserAgent/examples/advent_2012_2.pl
/usr/share/doc/perl-Test-LWP-UserAgent/examples/advent_2012_3.pl
/usr/share/doc/perl-Test-LWP-UserAgent/examples/application_client_test.t
/usr/share/doc/perl-Test-LWP-UserAgent/examples/call_psgi.t
/usr/share/doc/perl-Test-LWP-UserAgent/examples/myapp.psgi
/usr/share/licenses/perl-Test-LWP-UserAgent
/usr/share/licenses/perl-Test-LWP-UserAgent/LICENCE
/usr/share/man/man3/Test::LWP::UserAgent.3pm.gz
/usr/share/perl5/vendor_perl/Test
/usr/share/perl5/vendor_perl/Test/LWP
/usr/share/perl5/vendor_perl/Test/LWP/UserAgent.pm
References
Summary
In this tutorial we learn how to install perl-Test-LWP-UserAgent
on Rocky Linux 8 using yum and dnf.