How To Install perl-perl5i on CentOS 7

In this tutorial we learn how to install perl-perl5i on CentOS 7. perl-perl5i is Fix as much of Perl 5 as possible in one pragma

Introduction

In this tutorial we learn how to install perl-perl5i on CentOS 7.

What is perl-perl5i

Perl 5 has a lot of warts. There’s a lot of individual modules and techniques out there to fix those warts. perl5i aims to pull the best of them together into one module so you can turn them on all at once. This includes adding features, changing existing core functions and changing defaults. It will likely not be 100% backwards compatible with Perl 5, though it will be 99%, perl5i will try to have a lexical effect. Please add to this imaginary world and help make it real, either by telling me what Perl looks like in your imagination (http on github is like a branch you control) and implement it yourself.

We can use yum or dnf to install perl-perl5i on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install perl-perl5i.

Install perl-perl5i on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install perl-perl5i using yum by running the following command:

sudo yum -y install perl-perl5i

Install perl-perl5i on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install perl-perl5i using dnf by running the following command:

sudo dnf -y install perl-perl5i

How To Uninstall perl-perl5i on CentOS 7

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

sudo dnf remove perl-perl5i

References

Summary

In this tutorial we learn how to install perl-perl5i on CentOS 7 using yum and dnf.