How To Install perl-HTTP-Negotiate.noarch on Amazon Linux 2

In this tutorial we learn how to install perl-HTTP-Negotiate.noarch in Amazon Linux 2. perl-HTTP-Negotiate.noarch is Choose a variant to serve

Introduction

In this tutorial we learn how to install perl-HTTP-Negotiate.noarch on Amazon Linux 2.

What is perl-HTTP-Negotiate.noarch

This module provides a complete implementation of the HTTP content negotiation algorithm specified in draft-ietf-http-v11-spec-00.ps chapter 12. Content negotiation allows for the selection of a preferred content representation based upon attributes of the negotiable variants and the value of the various Accept* header fields in the request.

We can use yum to install perl-HTTP-Negotiate.noarch on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install perl-HTTP-Negotiate.noarch.

Install perl-HTTP-Negotiate.noarch on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install perl-HTTP-Negotiate.noarch using yum by running the following command:

sudo yum -y install perl-HTTP-Negotiate.noarch

How To Uninstall perl-HTTP-Negotiate.noarch on Amazon Linux 2

To uninstall only the perl-HTTP-Negotiate.noarch package we can use the following command:

sudo yum remove perl-HTTP-Negotiate.noarch

perl-HTTP-Negotiate.noarch Package Contents on Amazon Linux 2

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

References

Summary

In this tutorial we learn how to install perl-HTTP-Negotiate.noarch on Amazon Linux 2 using yum.