How To Install perl-HTTP-Body on Rocky Linux 8

In this tutorial we learn how to install perl-HTTP-Body on Rocky Linux 8. perl-HTTP-Body is HTTP Body Parser

Introduction

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

What is perl-HTTP-Body

A perl module for parsing the MultiPart, OctetStream, and UrlEncoded parts of an HTTP Body.

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

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

sudo dnf -y install perl-HTTP-Body

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

sudo yum -y install perl-HTTP-Body

How To Uninstall perl-HTTP-Body on Rocky Linux 8

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

sudo dnf remove perl-HTTP-Body

perl-HTTP-Body Package Contents on Rocky Linux 8

/usr/share/doc/perl-HTTP-Body
/usr/share/doc/perl-HTTP-Body/Changes
/usr/share/doc/perl-HTTP-Body/README
/usr/share/man/man3/HTTP::Body.3pm.gz
/usr/share/man/man3/HTTP::Body::MultiPart.3pm.gz
/usr/share/man/man3/HTTP::Body::OctetStream.3pm.gz
/usr/share/man/man3/HTTP::Body::UrlEncoded.3pm.gz
/usr/share/man/man3/HTTP::Body::XForms.3pm.gz
/usr/share/man/man3/HTTP::Body::XFormsMultipart.3pm.gz
/usr/share/perl5/vendor_perl/HTTP
/usr/share/perl5/vendor_perl/HTTP/Body
/usr/share/perl5/vendor_perl/HTTP/Body.pm
/usr/share/perl5/vendor_perl/HTTP/Body/MultiPart.pm
/usr/share/perl5/vendor_perl/HTTP/Body/OctetStream.pm
/usr/share/perl5/vendor_perl/HTTP/Body/UrlEncoded.pm
/usr/share/perl5/vendor_perl/HTTP/Body/XForms.pm
/usr/share/perl5/vendor_perl/HTTP/Body/XFormsMultipart.pm

References

Summary

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