macOS
brew install libcap-nglocal Homebrew formula metadata
brew
Library for Linux that makes using posix capabilities easy. Version 0.9.3 via Homebrew; verified 2026-04-09.
install
brew install libcap-nglocal Homebrew formula metadata
sudo apk add libcap-ngAlpine Linux edge package indexes · libcap-ng · source: dl-cdn.alpinelinux.org
sudo apt install libcap-ng-devDebian stable package indexes · libcap-ng-dev · source: deb.debian.org
sudo dnf install libcap-ngFedora Rawhide package metadata · libcap-ng · source: dl.fedoraproject.org
nix profile install nixpkgs#libcap_ngnixpkgs package indexes · pkgs/by-name/li/libcap_ng/package.nix · source: api.github.com
sudo pacman -S libcap-ngArch Linux sync databases · libcap-ng · source: geo.mirror.pkgbuild.com
sudo zypper install libcap-ng-developenSUSE Tumbleweed package metadata · libcap-ng-devel · source: download.opensuse.org
overview
Library for Linux that makes using posix capabilities easy
history
libcap-ng is Steve Grubb's Linux capability library and utility suite, designed to make POSIX capability programming easier than the older libcap API.
The libcap-ng site states the design goal directly: make programming with POSIX capabilities easier than the traditional libcap library. Its README demonstrates common use cases such as dropping all capabilities, keeping selected capabilities, checking capability state, and retaining capabilities across UID changes.
The project paired the C library with administrative tools. netcap reports listening network processes and their capabilities, pscap reports privileged processes, filecap searches for files with file capabilities, and cap-audit can audit capability checks when built with the optional eBPF-based tooling.
libcap-ng was adopted by Linux distributions because it gives application developers and packagers a smaller API for privilege dropping, while giving administrators tools to inspect capability exposure across a running system.
Developers use capng_clear, capng_update, capng_apply, and related calls to drop or retain Linux capabilities. Administrators use pscap, netcap, and filecap to find over-privileged processes and files.
In package-manager terms, libcap-ng is a security plumbing package: it is rarely user-facing, but it makes least-privilege patches shorter and more reviewable. That is exactly the kind of small library that changes whether downstream packages actually drop privileges.
security posture
library-like package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
filecap | cli | global executable | |
netcap | cli | global executable | |
pscap | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/stevegrubb/libcap-ng
install metadata
| Package key | brew:libcap-ng |
|---|---|
| Version | 0.9.3 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/libcap-ng |
| Homepage | https://people.redhat.com/sgrubb/libcap-ng/ |
| Repository | https://github.com/stevegrubb/libcap-ng |
| Upstream docs | https://github.com/stevegrubb/libcap-ng#readme |
| License | LGPL-2.1-or-later AND GPL-2.0-or-later |
| Source archive | https://github.com/stevegrubb/libcap-ng/archive/refs/tags/v0.9.3.tar.gz |
| Last updated | 2026-04-09T18:24:44Z |
| Pulse | updated |
| Build dependencies | autoconf, automake, libtool, m4, pkgconf, python-setuptools, python@3.14, swig |
| Bottle | available (on arm64_linux, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | libcap-ng |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Requirements |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
libcap-ng-dev 0.8.5-4+b1
Development and header files for libcap-ng
https://people.redhat.com/sgrubb/libcap-ng
sudo apt install libcap-ng-devlibcap-ng-utils 0.8.5-4+b1
Utilities for analysing and setting file capabilities
https://people.redhat.com/sgrubb/libcap-ng
sudo apt install libcap-ng-utilslibcap-ng0 0.8.5-4+b1
alternate POSIX capabilities library
https://people.redhat.com/sgrubb/libcap-ng
sudo apt install libcap-ng0python3-cap-ng 0.8.5-4+b1
Python3 bindings for libcap-ng
https://people.redhat.com/sgrubb/libcap-ng
sudo apt install python3-cap-nglibcap_ng
nix profile install nixpkgs#libcap_nglibcap-ng-dev 0.8.4-2build2
Development and header files for libcap-ng
https://people.redhat.com/sgrubb/libcap-ng
sudo apt install libcap-ng-devlibcap-ng-utils 0.8.4-2build2
Utilities for analysing and setting file capabilities
https://people.redhat.com/sgrubb/libcap-ng
sudo apt install libcap-ng-utilslibcap-ng0 0.8.4-2build2
alternate POSIX capabilities library
https://people.redhat.com/sgrubb/libcap-ng
sudo apt install libcap-ng0python3-cap-ng 0.8.4-2build2
Python3 bindings for libcap-ng
https://people.redhat.com/sgrubb/libcap-ng
sudo apt install python3-cap-nglibcap-ng 0.8.5-r2
POSIX capabilities library
https://people.redhat.com/sgrubb/libcap-ng/index.html
sudo apk add libcap-nglibcap-ng-dev 0.8.5-r2
POSIX capabilities library (development files)
https://people.redhat.com/sgrubb/libcap-ng/index.html
sudo apk add libcap-ng-devlibcap-ng-doc 0.8.5-r2
POSIX capabilities library (documentation)
https://people.redhat.com/sgrubb/libcap-ng/index.html
sudo apk add libcap-ng-doclibcap-ng-static 0.8.5-r2
POSIX capabilities library (static library)
https://people.redhat.com/sgrubb/libcap-ng/index.html
sudo apk add libcap-ng-staticlibcap-ng-utils 0.8.5-r2
posix capabilities utils
https://people.redhat.com/sgrubb/libcap-ng/index.html
sudo apk add libcap-ng-utilspy3-libcap-ng 0.8.5-r2
python bindings for libcap-ng
https://people.redhat.com/sgrubb/libcap-ng/index.html
sudo apk add py3-libcap-nglibcap-ng 0.9.3-2.fc45
Alternate posix capabilities library
https://github.com/stevegrubb/libcap-ng
sudo dnf install libcap-ngsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.