How To Install perl-Scalar-List-Utils on Rocky Linux 8

In this tutorial we learn how to install perl-Scalar-List-Utils on Rocky Linux 8. 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 Rocky Linux 8.

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 Rocky Linux 8. 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 Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

Install perl-Scalar-List-Utils on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

How To Uninstall perl-Scalar-List-Utils on Rocky Linux 8

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

sudo dnf remove perl-Scalar-List-Utils

perl-Scalar-List-Utils Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/34
/usr/lib/.build-id/34/c65c659b357250c46bd9ed49a0ee732a747dac
/usr/lib64/perl5/vendor_perl/List
/usr/lib64/perl5/vendor_perl/List/Util
/usr/lib64/perl5/vendor_perl/List/Util.pm
/usr/lib64/perl5/vendor_perl/List/Util/XS.pm
/usr/lib64/perl5/vendor_perl/Scalar
/usr/lib64/perl5/vendor_perl/Scalar/Util.pm
/usr/lib64/perl5/vendor_perl/Sub
/usr/lib64/perl5/vendor_perl/Sub/Util.pm
/usr/lib64/perl5/vendor_perl/auto/List
/usr/lib64/perl5/vendor_perl/auto/List/Util
/usr/lib64/perl5/vendor_perl/auto/List/Util/Util.so
/usr/share/doc/perl-Scalar-List-Utils
/usr/share/doc/perl-Scalar-List-Utils/Changes
/usr/share/doc/perl-Scalar-List-Utils/README
/usr/share/man/man3/List::Util.3pm.gz
/usr/share/man/man3/List::Util::XS.3pm.gz
/usr/share/man/man3/Scalar::Util.3pm.gz
/usr/share/man/man3/Sub::Util.3pm.gz

References

Summary

In this tutorial we learn how to install perl-Scalar-List-Utils on Rocky Linux 8 using yum and dnf.