How To Install perl-sword on Rocky Linux 8

In this tutorial we learn how to install perl-sword on Rocky Linux 8. perl-sword is Perl bindings for Sword

Introduction

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

What is perl-sword

Perl bindings for The SWORD Library.

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

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

sudo dnf -y install perl-sword

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

sudo yum -y install perl-sword

How To Uninstall perl-sword on Rocky Linux 8

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

sudo dnf remove perl-sword

perl-sword Package Contents on Rocky Linux 8

/usr/lib64/perl5/vendor_perl/auto/Sword
/usr/lib64/perl5/vendor_perl/auto/Sword/.packlist

References

Summary

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