How To Install safelease on Fedora 36
Introduction
In this tutorial we learn how to install safelease on Fedora 36.
What is safelease
Safelease is a legacy cluster lock utility used by VDSM. It is based on the algorithm presented in the article “Light-Weight Leases for Storage-Centric Coordination” by G Chockler and D Malkhi.
We can use yum or dnf to install safelease on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install safelease.
Install safelease 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 safelease using dnf by running the following command:
sudo dnf -y install safelease
Install safelease 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 safelease using yum by running the following command:
sudo yum -y install safelease
How To Uninstall safelease on Fedora 36
To uninstall only the safelease package we can use the following command:
sudo dnf remove safelease
safelease Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/cb
/usr/lib/.build-id/cb/67367c0585f7370b06f9a959c41bdeb87f58c7
/usr/libexec/safelease
/usr/libexec/safelease/safelease
/usr/share/doc/safelease
/usr/share/doc/safelease/AUTHORS
/usr/share/doc/safelease/README
/usr/share/licenses/safelease
/usr/share/licenses/safelease/COPYING
References
Summary
In this tutorial we learn how to install safelease on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).