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

Last updated: May 16,2024

1. Install "libcap2" package

This tutorial shows how to install libcap2 on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install libcap2

2. Uninstall "libcap2" package

Please follow the step by step instructions below to uninstall libcap2 on Debian 12 (Bookworm):

$ sudo apt remove libcap2 $ sudo apt autoclean && sudo apt autoremove

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

Package: libcap2
Version: 1:2.66-4
Installed-Size: 94
Maintainer: Christian Kastner
Architecture: amd64
Depends: libc6 (>= 2.34)
Description: POSIX 1003.1e capabilities (library)
Description-md5: cd474c07928607f123b20712016d716e
Multi-Arch: same
Homepage: https://sites.google.com/site/fullycapable/
Tag: role::shared-lib
Section: libs
Priority: optional
Filename: pool/main/libc/libcap2/libcap2_2.66-4_amd64.deb
Size: 27008
MD5sum: 7d691e081e1df30b19ba336f2f0431f6
SHA256: b36fefe9867f9e59b540f952e957a72ebdc241e997179d826da19a9511ade4a3