libcap-dev - POSIX 1003.1e capabilities (development)

Property Value
Distribution Ubuntu 16.04 LTS (Xenial Xerus)
Repository Ubuntu Main amd64
Package filename libcap-dev_2.24-12_amd64.deb
Package name libcap-dev
Package version 2.24
Package release 12
Package architecture amd64
Package type deb
Category libdevel
License -
Maintainer Ubuntu Developers <>
Download size 22.50 KB
Installed size 94.00 KB
Libcap implements the user-space interfaces to the POSIX 1003.1e capabilities
available in Linux kernels. These capabilities are a partitioning of the all
powerful root privilege into a set of distinct privileges.
This package contains the development files.


Package Version Architecture Repository
libcap-dev_2.24-12_i386.deb 2.24 i386 Ubuntu Main
libcap-dev - - -


Name Value
libcap2 = 1:2.24-12


Name Value
libcap2-dev -


Type URL
Binary Package libcap-dev_2.24-12_amd64.deb
Source Package libcap2

Install Howto

  1. Update the package index:
    # sudo apt-get update
  2. Install libcap-dev deb package:
    # sudo apt-get install libcap-dev




2015-10-02 - Christian Kastner <>
libcap2 (1:2.24-12) unstable; urgency=medium
* d/tests:
- Amend stderr redirection to fix autopkgtest failures
2015-08-25 - Christian Kastner <>
libcap2 (1:2.24-11) unstable; urgency=medium
* d/rules:
- Provide BUILD_LDFLAGS and BUILD_CPPFLAGS. Thanks, Helmut Grohne!
* d/patches:
- Drop patch numbers from .patch filenames
* d/patches (updated):
- Don-t-hardcode-build-flags.patch
When using BUILD_CC, use BUILD_LDFLAGS and BUILD_CPPFLAGS instead of the
host ones. Thanks, Helmut Grohne! Closes: #796886
* Add package-specific d/gbp.conf
2015-08-23 - Christian Kastner <>
libcap2 (1:2.24-10) unstable; urgency=medium
* d/control:
- Drop XS-Testsuite. dpkg now recognizes the Testsuite header, and
dpkg-source automatically adds one when an autopkgtest suite is found
- Add gperf to Build-Depends. The build proceeds slightly differently when
gperf is present in the build environment, so make sure it is present in
all build environments
- Switch Maintainer email to my address
* d/rules:
- Pass --version-info to dh_makeshlibs to match .symbols. Thanks, KiBi!
* d/copyright:
- Bump copyright years
* d/tests:
- Add missing dependencies for gcc and libc-dev
- Test "executables": Redirect stderr to stdout on test with expected
* d/patches (updated):
- 0004-Don-t-hardcode-build-flags
Add LDFLAGS to a target to silence a hardening flags warning, even though
the target is not shipped, but only used at build-time.
* d/patches (added):
- 0006-Hide-private-symbols.patch
2015-06-07 - Christian Kastner <>
libcap2 (1:2.24-9) unstable; urgency=medium
[ Matthias Klumpp ]
* Add udeb package for libcap2 to be used in d-i, since
the libudev1-udeb package depends on libcap2 now.
2015-03-29 - Christian Kastner <>
libcap2 (1:2.24-8) unstable; urgency=medium
* debian/libcap2-bin.maintscript:
- Drop, because using rm_conffile to clean up an obsolete conffile that
was moved to another package can lead to breakage, see:  Closes: #781050
* debian/watch:
- Drop stray empty opts= (invalid syntax breaks uscan checks)
2015-03-13 - Christian Kastner <>
libcap2 (1:2.24-7) unstable; urgency=medium
* debian/libcap2-bin.maintscript:
- Remove obsolete conffile capability.conf. Closes: #768229
* debian/control:
- Add Breaks+Replaces for libcap-bin. libcap-bin was removed after lenny,
but the transition to libcap2-bin was not fully handled. Closes: #780411
2014-09-25 - Christian Kastner <>
libcap2 (1:2.24-6) unstable; urgency=medium
* debian/rules:
- Use proper assignment for CC. It has a default value, so ?= assignment
does not make sense. Using := fixes a FTCBFS. Thanks, Helmut Grohne.
Closes: #762575
* debian/control:
- Add XS-Testsuite for autopkgtest
* debian/tests/executables:
- Add an autopkgtest for getcap(8) and setcap(8) functionality
2014-09-19 - Christian Kastner <>
libcap2 (1:2.24-5) unstable; urgency=medium
* debian/libcap2-bin.lintian-overrides:
- Drop this file; it only contained an unused lintian override for
* debian/control:
- Bump Standards-Version to 3.9.6 (no changes needed)
- Add binary package libcap2-dbg for debugging symbols
* debian/rules:
- Use dpkg/ instead of manual assignment
- Rework the cross-compiling support. Less code, and less assumptions about
the environment
- Create dirs in override_dh_installdirs
- Simplify installation stage
- Add override_dh_strip to place symbols in libcap2-dbg
* Package libcap-dev:
- Move the static library from /lib/ to /usr/lib/, where development files
belong according to the FHS. /lib/ is only for essential shared
* debian/TODO:
- Drop file (all items were either dropped or completed)

See Also

Package Description
libcap-ng-dev_0.7.7-1_amd64.deb Development and header files for libcap-ng
libcap-ng0_0.7.7-1_amd64.deb An alternate POSIX capabilities library
libcap2-bin_2.24-12_amd64.deb POSIX 1003.1e capabilities (utilities)
libcap2_2.24-12_amd64.deb POSIX 1003.1e capabilities (library)
libcc1-0_5.3.1-14ubuntu2_amd64.deb GCC cc1 plugin for GDB
libccolamd2.9.1_4.4.6-1_amd64.deb constrained column approximate library for sparse matrices
libcdb-dev_0.78_amd64.deb development files for constant databases (cdb)
libcdb1_0.78_amd64.deb shared library for constant databases (cdb)
libcdio-cdda1_0.83-4.2ubuntu1_amd64.deb library to read and control digital audio CDs
libcdio-dev_0.83-4.2ubuntu1_amd64.deb library to read and control CD-ROM (development files)
libcdio-paranoia1_0.83-4.2ubuntu1_amd64.deb library to read digital audio CDs with error correction
libcdio13_0.83-4.2ubuntu1_amd64.deb library to read and control CD-ROM
libcdparanoia-dev_3.10.2+debian-11_amd64.deb audio extraction tool for sampling CDs (development)
libcdparanoia0_3.10.2+debian-11_amd64.deb audio extraction tool for sampling CDs (library)
libcdr-0.1-1_0.1.2-2ubuntu2_amd64.deb library for reading and converting Corel DRAW files