How To Install slurm-perlapi on CentOS 8
Introduction
In this tutorial we learn how to install slurm-perlapi
on CentOS 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 CentOS 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 CentOS 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
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 CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
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 CentOS 8
To uninstall only the slurm-perlapi
package we can use the following command:
sudo dnf remove slurm-perlapi
slurm-perlapi Package Contents on CentOS 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 CentOS 8 using yum and dnf.