How to Install and Uninstall sanlock-lib.x86_64 Package on Amazon Linux 2

Last updated: June 29,2024

1. Install "sanlock-lib.x86_64" package

This tutorial shows how to install sanlock-lib.x86_64 on Amazon Linux 2

$ sudo yum makecache $ sudo yum install sanlock-lib.x86_64

2. Uninstall "sanlock-lib.x86_64" package

Learn how to uninstall sanlock-lib.x86_64 on Amazon Linux 2:

$ sudo yum remove sanlock-lib.x86_64 $ sudo yum autoremove

3. Information about the sanlock-lib.x86_64 package on Amazon Linux 2

Loaded plugins: ovl, priorities
Available Packages
Name : sanlock-lib
Arch : x86_64
Version : 3.6.0
Release : 1.amzn2
Size : 52 k
Repo : amzn2-core/2/x86_64
Summary : A shared storage lock manager library
URL : https://pagure.io/sanlock
License : GPLv2 and GPLv2+ and LGPLv2+
Description : 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.