How to Install and Uninstall libcap-dev Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: May 20,2024

1. Install "libcap-dev" package

In this section, we are going to explain the necessary steps to install libcap-dev on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install libcap-dev

2. Uninstall "libcap-dev" package

Please follow the instructions below to uninstall libcap-dev on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the libcap-dev package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: libcap-dev
Architecture: amd64
Version: 1:2.25-1.2
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: 93
Provides: libcap2-dev
Depends: libcap2 (= 1:2.25-1.2)
Suggests: manpages-dev
Filename: pool/main/libc/libcap2/libcap-dev_2.25-1.2_amd64.deb
Size: 23188
MD5sum: e2bf23c6cdb6238cc859a1254eb3048c
SHA1: 1687c0423032dde5f77515938db435f39775e167
SHA256: 9299862050c663b759510ed4ed3162ed506884f2920224ec4ae8858685ee8494
Homepage: http://sites.google.com/site/fullycapable/
Description: POSIX 1003.1e capabilities (development)
Description-md5: 71a80949663716b327d81d7b814ba91a
Supported: 5y