How to Install and Uninstall sanlock Package on Debian 12 (Bookworm)

Last updated: May 05,2024

1. Install "sanlock" package

This guide covers the steps necessary to install sanlock on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install sanlock

2. Uninstall "sanlock" package

Please follow the guidance below to uninstall sanlock on Debian 12 (Bookworm):

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

3. Information about the sanlock package on Debian 12 (Bookworm)

Package: sanlock
Source: sanlock (3.8.5-1)
Version: 3.8.5-1+b1
Installed-Size: 357
Maintainer: Håvard F. Aasen
Architecture: amd64
Depends: libaio1 (>= 0.3.93), libblkid1 (>= 2.17.2), libc6 (>= 2.34), libsanlock1 (>= 3.8.2), libuuid1 (>= 2.16), adduser
Pre-Depends: init-system-helpers (>= 1.54~)
Suggests: sanlk-reset, python3-sanlock
Description: Shared storage lock manager
Description-md5: bd141da626ec78be3673c3046a692c21
Homepage: https://www.pagure.io/sanlock/
Tag: role::shared-lib
Section: libs
Priority: optional
Filename: pool/main/s/sanlock/sanlock_3.8.5-1+b1_amd64.deb
Size: 138104
MD5sum: e1210b4604f121d6fa8b2d6257371327
SHA256: 1ebe8bc76bf13c9278ec34ba437b271e698f1681f8b6a2f896818ed2703aec78