How To Install sbd on Rocky Linux 8

In this tutorial we learn how to install sbd on Rocky Linux 8. sbd is Storage-based death

Introduction

In this tutorial we learn how to install sbd on Rocky Linux 8.

What is sbd

This package contains the storage-based death functionality.

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

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

sudo dnf -y install sbd

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

sudo yum -y install sbd

How To Uninstall sbd on Rocky Linux 8

To uninstall only the sbd package we can use the following command:

sudo dnf remove sbd

sbd Package Contents on Rocky Linux 8

/etc/sysconfig/sbd
/usr/lib/.build-id
/usr/lib/.build-id/87
/usr/lib/.build-id/87/fd33a2e5bac3696fc42daeb11bbe4c8eb67f88
/usr/lib/systemd/system/sbd.service
/usr/lib/systemd/system/sbd_remote.service
/usr/sbin/sbd
/usr/share/doc/sbd
/usr/share/doc/sbd/COPYING
/usr/share/man/man8/sbd.8.gz
/usr/share/pkgconfig/sbd.pc
/usr/share/sbd

References

Summary

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