How To Install perl-Web-Scraper on Fedora 36

In this tutorial we learn how to install perl-Web-Scraper in Fedora 36. perl-Web-Scraper is Web Scraping Toolkit using HTML and CSS Selectors or XPath expressions

Introduction

In this tutorial we learn how to install perl-Web-Scraper on Fedora 36.

What is perl-Web-Scraper

Web Scrapi. It provides a DSL-ish interface for traversing HTML documents and returning a neatly arranged Perl data structure.

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

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

sudo dnf -y install perl-Web-Scraper

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

sudo yum -y install perl-Web-Scraper

How To Uninstall perl-Web-Scraper on Fedora 36

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

sudo dnf remove perl-Web-Scraper

perl-Web-Scraper Package Contents on Fedora 36

/usr/bin/scraper
/usr/share/doc/perl-Web-Scraper
/usr/share/doc/perl-Web-Scraper/Changes
/usr/share/doc/perl-Web-Scraper/README
/usr/share/man/man3/Web::Scraper.3pm.gz
/usr/share/man/man3/Web::Scraper::Filter.3pm.gz
/usr/share/man/man3/Web::Scraper::LibXML.3pm.gz
/usr/share/perl5/vendor_perl/Web
/usr/share/perl5/vendor_perl/Web/Scraper
/usr/share/perl5/vendor_perl/Web/Scraper.pm
/usr/share/perl5/vendor_perl/Web/Scraper/Filter.pm
/usr/share/perl5/vendor_perl/Web/Scraper/LibXML.pm

References

Summary

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