How To Install perl-XString on Rocky Linux 8

In this tutorial we learn how to install perl-XString on Rocky Linux 8. perl-XString is Isolated String helpers from B

Introduction

In this tutorial we learn how to install perl-XString on Rocky Linux 8.

What is perl-XString

XString provides the B string helpers in one isolated package. Right now only cstring and perlstring are available.

We can use yum or dnf to install perl-XString on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install perl-XString.

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

sudo dnf -y install perl-XString

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

sudo yum -y install perl-XString

How To Uninstall perl-XString on Rocky Linux 8

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

sudo dnf remove perl-XString

perl-XString Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/98
/usr/lib/.build-id/98/b07e4e22496e632486f3656d0bdce1ae219494
/usr/lib64/perl5/vendor_perl/XString.pm
/usr/lib64/perl5/vendor_perl/auto/XString
/usr/lib64/perl5/vendor_perl/auto/XString/XString.so
/usr/share/doc/perl-XString
/usr/share/doc/perl-XString/Changes
/usr/share/doc/perl-XString/README
/usr/share/licenses/perl-XString
/usr/share/licenses/perl-XString/LICENSE
/usr/share/man/man3/XString.3pm.gz

References

Summary

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