How To Install perl-Scalar-List-Utils on CentOS 7

In this tutorial we learn how to install perl-Scalar-List-Utils on CentOS 7. perl-Scalar-List-Utils is A selection of general-utility scalar and list subroutines

Introduction

In this tutorial we learn how to install perl-Scalar-List-Utils on CentOS 7.

What is perl-Scalar-List-Utils

This package contains a selection of subroutines that people have expressed would be nice to have in the perl core, but the usage would not really be high enough to warrant the use of a keyword, and the size so small such that being individual extensions would be wasteful.

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

Install perl-Scalar-List-Utils 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-Scalar-List-Utils using yum by running the following command:

sudo yum -y install perl-Scalar-List-Utils

Install perl-Scalar-List-Utils 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-Scalar-List-Utils using dnf by running the following command:

sudo dnf -y install perl-Scalar-List-Utils

How To Uninstall perl-Scalar-List-Utils on CentOS 7

To uninstall only the perl-Scalar-List-Utils package we can use the following command:

sudo dnf remove perl-Scalar-List-Utils

References

Summary

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