How to Install and Uninstall libcap-dev Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: November 22,2024

1. Install "libcap-dev" package

Please follow the step by step instructions below to install libcap-dev on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install libcap-dev

2. Uninstall "libcap-dev" package

Please follow the guidance below to uninstall libcap-dev on Ubuntu 20.04 LTS (Focal Fossa):

$ sudo apt remove libcap-dev $ sudo apt autoclean && sudo apt autoremove

3. Information about the libcap-dev package on Ubuntu 20.04 LTS (Focal Fossa)

Package: libcap-dev
Architecture: amd64
Version: 1:2.32-1ubuntu0.1
Multi-Arch: same
Priority: optional
Section: libdevel
Source: libcap2
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Christian Kastner
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 135
Provides: libcap2-dev
Depends: libcap2 (= 1:2.32-1ubuntu0.1)
Suggests: manpages-dev
Filename: pool/main/libc/libcap2/libcap-dev_2.32-1ubuntu0.1_amd64.deb
Size: 33152
MD5sum: f3a1cadd47949da969486d7825dfdc7b
SHA1: 0b343da9f499c0529d335bb48d5a4a1d85705cf9
SHA256: 5c7f354626698ce78e5ee16daa08b13f38934d2a84f3b84468fff2536673190c
SHA512: 28d613a48152af431f91b1ffdaa5b7b86c2aae6275f0971e55b2ad4ad7a9a3b28403a6cf8e6c7f91e75aa434812e8bc74d11b9325ccfec67d7bbaea56252f72a
Homepage: https://sites.google.com/site/fullycapable/
Description: POSIX 1003.1e capabilities (development)
Description-md5: 71a80949663716b327d81d7b814ba91a

Package: libcap-dev
Architecture: amd64
Version: 1:2.32-1
Multi-Arch: same
Priority: optional
Section: libdevel
Source: libcap2
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Christian Kastner
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 134
Provides: libcap2-dev
Depends: libcap2 (= 1:2.32-1)
Suggests: manpages-dev
Filename: pool/main/libc/libcap2/libcap-dev_2.32-1_amd64.deb
Size: 33168
MD5sum: a9abfe10228f3879df9322142081e320
SHA1: 5cdd4995f81bfb2c74fa0b28b08f461d8ab55277
SHA256: 9524cce06695a205040860cce8e528258b865fc818fd834c971828580b419cd6
Homepage: https://sites.google.com/site/fullycapable/
Description: POSIX 1003.1e capabilities (development)
Description-md5: 71a80949663716b327d81d7b814ba91a