How To Install slurm-perlapi on Rocky Linux 8

In this tutorial we learn how to install slurm-perlapi on Rocky Linux 8. slurm-perlapi is Perl API to Slurm

Introduction

In this tutorial we learn how to install slurm-perlapi on Rocky Linux 8.

What is slurm-perlapi

Perl API package for Slurm. This package includes the perl API to provide a helpful interface to Slurm through Perl.

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

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

sudo dnf -y install slurm-perlapi

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

sudo yum -y install slurm-perlapi

How To Uninstall slurm-perlapi on Rocky Linux 8

To uninstall only the slurm-perlapi package we can use the following command:

sudo dnf remove slurm-perlapi

slurm-perlapi Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/56/2305e885c82d72fd1bd0e6df3ec3385dce6163
/usr/lib/.build-id/bd
/usr/lib/.build-id/bd/3fd0736ab188637ae00f620bd4f55cf13cc50c
/usr/lib64/perl5/vendor_perl/Slurm
/usr/lib64/perl5/vendor_perl/Slurm.pm
/usr/lib64/perl5/vendor_perl/Slurm/Bitstr.pm
/usr/lib64/perl5/vendor_perl/Slurm/Constant.pm
/usr/lib64/perl5/vendor_perl/Slurm/Hostlist.pm
/usr/lib64/perl5/vendor_perl/Slurm/Stepctx.pm
/usr/lib64/perl5/vendor_perl/Slurmdb.pm
/usr/lib64/perl5/vendor_perl/auto/Slurm
/usr/lib64/perl5/vendor_perl/auto/Slurm/Slurm.so
/usr/lib64/perl5/vendor_perl/auto/Slurmdb
/usr/lib64/perl5/vendor_perl/auto/Slurmdb/Slurmdb.so
/usr/lib64/perl5/vendor_perl/auto/Slurmdb/autosplit.ix
/usr/share/man/man3/Slurm.3pm.gz
/usr/share/man/man3/Slurm::Bitstr.3pm.gz
/usr/share/man/man3/Slurm::Constant.3pm.gz
/usr/share/man/man3/Slurm::Hostlist.3pm.gz
/usr/share/man/man3/Slurm::Stepctx.3pm.gz
/usr/share/man/man3/Slurmdb.3pm.gz

References

Summary

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