How To Install libvirt-lock-sanlock.x86_64 on Amazon Linux 2
In this tutorial we learn how to install libvirt-lock-sanlock.x86_64 in Amazon Linux 2. libvirt-lock-sanlock.x86_64 is Sanlock lock manager plugin for QEMU driver
Introduction
In this tutorial we learn how to install libvirt-lock-sanlock.x86_64
on Amazon Linux 2.
What is libvirt-lock-sanlock.x86_64
Includes the Sanlock lock manager plugin for the QEMU driver
We can use yum
to install libvirt-lock-sanlock.x86_64
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install libvirt-lock-sanlock.x86_64.
Install libvirt-lock-sanlock.x86_64 on Amazon Linux 2 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install libvirt-lock-sanlock.x86_64
using yum
by running the following command:
sudo yum -y install libvirt-lock-sanlock.x86_64
How To Uninstall libvirt-lock-sanlock.x86_64 on Amazon Linux 2
To uninstall only the libvirt-lock-sanlock.x86_64
package we can use the following command:
sudo yum remove libvirt-lock-sanlock.x86_64
libvirt-lock-sanlock.x86_64 Package Contents on Amazon Linux 2
/etc/libvirt/qemu-sanlock.conf
/usr/lib64/libvirt/lock-driver/sanlock.so
/usr/libexec/libvirt_sanlock_helper
/usr/sbin/virt-sanlock-cleanup
/usr/share/augeas/lenses/libvirt_sanlock.aug
/usr/share/augeas/lenses/tests/test_libvirt_sanlock.aug
/usr/share/man/man8/virt-sanlock-cleanup.8.gz
/var/lib/libvirt/sanlock
References
Summary
In this tutorial we learn how to install libvirt-lock-sanlock.x86_64
on Amazon Linux 2 using yum.