How To Install perl-prefork.noarch on Amazon Linux 2

In this tutorial we learn how to install perl-prefork.noarch in Amazon Linux 2. perl-prefork.noarch is Optimized module loading for forking or non-forking processes

Introduction

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

What is perl-prefork.noarch

Optimized module loading for forking or non-forking processes prefork.pm is intended to serve as a central and optional marshalling point for state detection (are we running in compile-time or run-time mode) and to act as a relatively light-weight module loader.

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

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

sudo yum -y install perl-prefork.noarch

How To Uninstall perl-prefork.noarch on Amazon Linux 2

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

sudo yum remove perl-prefork.noarch

perl-prefork.noarch Package Contents on Amazon Linux 2

/usr/share/doc/perl-prefork-1.04
/usr/share/doc/perl-prefork-1.04/Changes
/usr/share/doc/perl-prefork-1.04/LICENSE
/usr/share/doc/perl-prefork-1.04/README
/usr/share/man/man3/prefork.3pm.gz
/usr/share/perl5/vendor_perl/prefork.pm

References

Summary

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