How To Install slurm-contribs on Rocky Linux 8

In this tutorial we learn how to install slurm-contribs on Rocky Linux 8. slurm-contribs is Perl tools to print Slurm job state information

Introduction

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

What is slurm-contribs

Slurm contribution package which includes the programs seff, sjobexitmod, sjstat and smail. See their respective man pages for more information.

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

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

sudo dnf -y install slurm-contribs

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

sudo yum -y install slurm-contribs

How To Uninstall slurm-contribs on Rocky Linux 8

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

sudo dnf remove slurm-contribs

slurm-contribs Package Contents on Rocky Linux 8

/usr/bin/seff
/usr/bin/sgather
/usr/bin/sjobexitmod
/usr/bin/sjstat
/usr/bin/smail
/usr/share/doc/slurm
/usr/share/doc/slurm/contribs
/usr/share/doc/slurm/contribs/README
/usr/share/doc/slurm/contribs/lua
/usr/share/doc/slurm/contribs/lua/job_submit.license.lua
/usr/share/doc/slurm/contribs/lua/job_submit.lua
/usr/share/man/man1/sgather.1.gz
/usr/share/man/man1/sjobexitmod.1.gz
/usr/share/man/man1/sjstat.1.gz

References

Summary

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