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

In this tutorial we learn how to install perl-HTTP-Daemon.noarch in Amazon Linux 2. perl-HTTP-Daemon.noarch is Simple HTTP server class

Introduction

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

What is perl-HTTP-Daemon.noarch

Instances of the HTTP listen on a socket for incoming requests. The HTTP subclass of IO directly on it too.

We can use yum to install perl-HTTP-Daemon.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-Daemon.noarch.

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

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

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

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

sudo yum remove perl-HTTP-Daemon.noarch

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

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

References

Summary

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