How To Install dlm on Fedora 36

In this tutorial we learn how to install dlm in Fedora 36. dlm is Kernel Distributed Lock Manager control daemon and tool

Introduction

In this tutorial we learn how to install dlm on Fedora 36.

What is dlm

The kernel dlm requires a user daemon to control membership.

We can use yum or dnf to install dlm on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install dlm.

Install dlm on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install dlm using dnf by running the following command:

sudo dnf -y install dlm

Install dlm on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install dlm using yum by running the following command:

sudo yum -y install dlm

How To Uninstall dlm on Fedora 36

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

sudo dnf remove dlm

dlm Package Contents on Fedora 36

/etc/sysconfig/dlm
/usr/lib/.build-id
/usr/lib/.build-id/69
/usr/lib/.build-id/69/d65b028aacd51ece29b1d4c577009d64837d03
/usr/lib/.build-id/9c
/usr/lib/.build-id/9c/2c9f3fe5d4e2532490a8fbff5fbc6671e24335
/usr/lib/.build-id/dd
/usr/lib/.build-id/dd/dba74a14502ac13965502c90185fd271af44bf
/usr/lib/systemd/system/dlm.service
/usr/sbin/dlm_controld
/usr/sbin/dlm_stonith
/usr/sbin/dlm_tool
/usr/share/doc/dlm
/usr/share/doc/dlm/README.license
/usr/share/man/man3/dlm_cleanup.3.gz
/usr/share/man/man3/dlm_close_lockspace.3.gz
/usr/share/man/man3/dlm_create_lockspace.3.gz
/usr/share/man/man3/dlm_dispatch.3.gz
/usr/share/man/man3/dlm_get_fd.3.gz
/usr/share/man/man3/dlm_lock.3.gz
/usr/share/man/man3/dlm_lock_wait.3.gz
/usr/share/man/man3/dlm_ls_lock.3.gz
/usr/share/man/man3/dlm_ls_lock_wait.3.gz
/usr/share/man/man3/dlm_ls_lockx.3.gz
/usr/share/man/man3/dlm_ls_pthread_init.3.gz
/usr/share/man/man3/dlm_ls_unlock.3.gz
/usr/share/man/man3/dlm_ls_unlock_wait.3.gz
/usr/share/man/man3/dlm_new_lockspace.3.gz
/usr/share/man/man3/dlm_open_lockspace.3.gz
/usr/share/man/man3/dlm_pthread_init.3.gz
/usr/share/man/man3/dlm_release_lockspace.3.gz
/usr/share/man/man3/dlm_unlock.3.gz
/usr/share/man/man3/dlm_unlock_wait.3.gz
/usr/share/man/man3/libdlm.3.gz
/usr/share/man/man5/dlm.conf.5.gz
/usr/share/man/man8/dlm_controld.8.gz
/usr/share/man/man8/dlm_stonith.8.gz
/usr/share/man/man8/dlm_tool.8.gz

References

Summary

In this tutorial we learn how to install dlm on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).