How To Install perl-HTTP-Parser on Fedora 36

In this tutorial we learn how to install perl-HTTP-Parser in Fedora 36. perl-HTTP-Parser is Parse HTTP/1.1 request into HTTP

Introduction

In this tutorial we learn how to install perl-HTTP-Parser on Fedora 36.

What is perl-HTTP-Parser

This is an HTTP request parser. It takes chunks of text as received and returns a ‘hint’ as to what is required, or returns the HTTP a complete request has been read. HTTP/1.1 chunked transfer encoding is supported. It dies if it finds an error.

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

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

sudo dnf -y install perl-HTTP-Parser

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

sudo yum -y install perl-HTTP-Parser

How To Uninstall perl-HTTP-Parser on Fedora 36

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

sudo dnf remove perl-HTTP-Parser

perl-HTTP-Parser Package Contents on Fedora 36

/usr/share/doc/perl-HTTP-Parser
/usr/share/doc/perl-HTTP-Parser/Changes
/usr/share/doc/perl-HTTP-Parser/README
/usr/share/man/man3/HTTP::Parser.3pm.gz
/usr/share/perl5/vendor_perl/HTTP
/usr/share/perl5/vendor_perl/HTTP/Parser.pm

References

Summary

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