How to Install and Uninstall sanlock Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: April 29,2024

1. Install "sanlock" package

This tutorial shows how to install sanlock on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install sanlock

2. Uninstall "sanlock" package

This guide covers the steps necessary to uninstall sanlock on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove sanlock $ sudo apt autoclean && sudo apt autoremove

3. Information about the sanlock package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: sanlock
Priority: optional
Section: universe/libs
Installed-Size: 350
Maintainer: Ubuntu Developers
Original-Maintainer: David Weber
Architecture: amd64
Version: 2.2-2
Depends: libaio1 (>= 0.3.93), libblkid1 (>= 2.17.2), libc6 (>= 2.14), libgcc1 (>= 1:4.1.1), libuuid1 (>= 2.16), adduser
Filename: pool/universe/s/sanlock/sanlock_2.2-2_amd64.deb
Size: 114026
MD5sum: 40c65251b724a30764386561c61356d9
SHA1: 1b2d4eaf94c892975c09794d6db1c9398f28c620
SHA256: 03ee90a295d0a7f7f904fe3d3f24baeb9daa742bad7797805d07faf34563fa83
Description-en: shared storage lock manager
Sanlock ensures that single disk cannot be used by more than
one running VM at a time, across any host in a network.
This package contains the binaries and private shared libraries
Description-md5: f87ba140cc40fad097bac684cd486af5
Homepage: https://fedorahosted.org/sanlock/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu