How To Install perl-LWP-UserAgent-DNS-Hosts on Fedora 36

In this tutorial we learn how to install perl-LWP-UserAgent-DNS-Hosts in Fedora 36. perl-LWP-UserAgent-DNS-Hosts is Override LWP HTTP/HTTPS request’s host like /etc/hosts

Introduction

In this tutorial we learn how to install perl-LWP-UserAgent-DNS-Hosts on Fedora 36.

What is perl-LWP-UserAgent-DNS-Hosts

LWP addresses that uses LWP LWP

We can use yum or dnf to install perl-LWP-UserAgent-DNS-Hosts on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install perl-LWP-UserAgent-DNS-Hosts.

Install perl-LWP-UserAgent-DNS-Hosts on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install perl-LWP-UserAgent-DNS-Hosts using dnf by running the following command:

sudo dnf -y install perl-LWP-UserAgent-DNS-Hosts

Install perl-LWP-UserAgent-DNS-Hosts on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install perl-LWP-UserAgent-DNS-Hosts using yum by running the following command:

sudo yum -y install perl-LWP-UserAgent-DNS-Hosts

How To Uninstall perl-LWP-UserAgent-DNS-Hosts on Fedora 36

To uninstall only the perl-LWP-UserAgent-DNS-Hosts package we can use the following command:

sudo dnf remove perl-LWP-UserAgent-DNS-Hosts

perl-LWP-UserAgent-DNS-Hosts Package Contents on Fedora 36

/usr/share/doc/perl-LWP-UserAgent-DNS-Hosts
/usr/share/doc/perl-LWP-UserAgent-DNS-Hosts/Changes
/usr/share/doc/perl-LWP-UserAgent-DNS-Hosts/README.md
/usr/share/licenses/perl-LWP-UserAgent-DNS-Hosts
/usr/share/licenses/perl-LWP-UserAgent-DNS-Hosts/LICENSE
/usr/share/man/man3/LWP::Protocol::http::hosts.3pm.gz
/usr/share/man/man3/LWP::Protocol::https::hosts.3pm.gz
/usr/share/man/man3/LWP::UserAgent::DNS::Hosts.3pm.gz
/usr/share/perl5/vendor_perl/LWP
/usr/share/perl5/vendor_perl/LWP/Protocol
/usr/share/perl5/vendor_perl/LWP/Protocol/http
/usr/share/perl5/vendor_perl/LWP/Protocol/http/hosts.pm
/usr/share/perl5/vendor_perl/LWP/Protocol/https
/usr/share/perl5/vendor_perl/LWP/Protocol/https/hosts.pm
/usr/share/perl5/vendor_perl/LWP/UserAgent
/usr/share/perl5/vendor_perl/LWP/UserAgent/DNS
/usr/share/perl5/vendor_perl/LWP/UserAgent/DNS/Hosts.pm

References

Summary

In this tutorial we learn how to install perl-LWP-UserAgent-DNS-Hosts on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).