How To Install sanlock-lib on Rocky Linux 8
Introduction
In this tutorial we learn how to install sanlock-lib
on Rocky Linux 8.
What is sanlock-lib
The sanlock-lib package contains the runtime libraries for sanlock, a shared storage lock manager. Hosts connected to a common SAN can use this to synchronize their access to the shared disks.
We can use yum
or dnf
to install sanlock-lib
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install sanlock-lib.
Install sanlock-lib 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 sanlock-lib
using dnf
by running the following command:
sudo dnf -y install sanlock-lib
Install sanlock-lib 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 sanlock-lib
using yum
by running the following command:
sudo yum -y install sanlock-lib
How To Uninstall sanlock-lib on Rocky Linux 8
To uninstall only the sanlock-lib
package we can use the following command:
sudo dnf remove sanlock-lib
sanlock-lib Package Contents on Rocky Linux 8
/usr/lib/.build-id
/usr/lib/.build-id/0a
/usr/lib/.build-id/0a/07e5a2790b4f411dbba3625e5a82b8ca33b6fd
/usr/lib/.build-id/60
/usr/lib/.build-id/60/8365bf26462ed349f11f162be418a5738392c8
/usr/lib/.build-id/c7
/usr/lib/.build-id/c7/d15ce37e43128cf5e79442a87e5505b5385694
/usr/lib64/libsanlock.so.1
/usr/lib64/libsanlock.so.1.0
/usr/lib64/libsanlock_client.so.1
/usr/lib64/libsanlock_client.so.1.0
/usr/lib64/libwdmd.so.1
/usr/lib64/libwdmd.so.1.0
/usr/lib/.build-id
/usr/lib/.build-id/10
/usr/lib/.build-id/10/e937b89c05812b43348584cf54a8ba135e1197
/usr/lib/.build-id/58
/usr/lib/.build-id/58/c3fad8cdbb6085a2dc82f24f0ff8e2aaf53862
/usr/lib/.build-id/df
/usr/lib/.build-id/df/43a3a9a2703b5d5ee2f73ce54e9459fcd44934
/usr/lib/libsanlock.so.1
/usr/lib/libsanlock.so.1.0
/usr/lib/libsanlock_client.so.1
/usr/lib/libsanlock_client.so.1.0
/usr/lib/libwdmd.so.1
/usr/lib/libwdmd.so.1.0
/usr/lib/.build-id
/usr/lib/.build-id/15
/usr/lib/.build-id/15/5c0f690e336fa2c40aea7b21dc5f1156dc96ec
/usr/lib/.build-id/51
/usr/lib/.build-id/51/8bc44dd3801c9522e59249b4e0851fe504d69b
/usr/lib/.build-id/b2
/usr/lib/.build-id/b2/842be7194e2daf85450e3bdf226a706f34ebd5
/usr/lib/libsanlock.so.1
/usr/lib/libsanlock.so.1.0
/usr/lib/libsanlock_client.so.1
/usr/lib/libsanlock_client.so.1.0
/usr/lib/libwdmd.so.1
/usr/lib/libwdmd.so.1.0
/usr/lib/.build-id
/usr/lib/.build-id/15
/usr/lib/.build-id/15/b059444832b9ced2defa6b9954e86b89c33eb1
/usr/lib/.build-id/29
/usr/lib/.build-id/29/78782c4375bda456f11d33dedd87150efb59a2
/usr/lib/.build-id/51
/usr/lib/.build-id/51/5d0f673c4cadf7f5826ef328f02720420924bb
/usr/lib64/libsanlock.so.1
/usr/lib64/libsanlock.so.1.0
/usr/lib64/libsanlock_client.so.1
/usr/lib64/libsanlock_client.so.1.0
/usr/lib64/libwdmd.so.1
/usr/lib64/libwdmd.so.1.0
References
Summary
In this tutorial we learn how to install sanlock-lib
on Rocky Linux 8 using yum and dnf.