macOS
brew install libcaplocal Homebrew formula metadata
brew
User-space interfaces to POSIX 1003.1e capabilities. Version 2.78 via Homebrew; verified from local package data.
install
brew install libcaplocal Homebrew formula metadata
sudo apk add libcapAlpine Linux edge package indexes · libcap · source: dl-cdn.alpinelinux.org
sudo dnf install captreeFedora Rawhide package metadata · captree · source: dl.fedoraproject.org
nix profile install nixpkgs#libcapnixpkgs package indexes · pkgs/by-name/li/libcap/package.nix · source: api.github.com
sudo pacman -S libcapArch Linux sync databases · libcap · source: geo.mirror.pkgbuild.com
sudo zypper install libcap-developenSUSE Tumbleweed package metadata · libcap-devel · source: download.opensuse.org
overview
User-space interfaces to POSIX 1003.1e capabilities
history
libcap is Andrew G. Morgan's user-space library and utility suite for Linux capabilities, including setcap, getcap, getpcaps, capsh, pam_cap, and related support libraries.
The upstream README describes libcap as a library for getting and setting POSIX.1e draft 15 capabilities, with native C/C++ and Go support. The Fully Capable site frames Linux capabilities as an alternative to the superuser model of privilege under Linux and notes that the Linux implementation is based on the defunct POSIX.1e draft.
The project grew beyond a C library into a family of privilege-management tools and helper code. The README names capsh, getpcaps, setcap, and getcap as example programs, while the Fully Capable site documents libpsx for POSIX semantics in threaded applications and Go packages for capability manipulation.
libcap became baseline Linux security infrastructure because file capabilities and process capabilities need user-space tooling. Distribution packages expose its command-line tools for administrators and its headers and library for software that must drop root while keeping only specific privileges.
Administrators use setcap and getcap to assign and inspect file capabilities, getpcaps to inspect processes, and capsh to experiment with capability sets and shells. Developers link libcap when applications need direct control over Linux capability state.
libcap is one of the packages that turns a kernel security feature into everyday packaging policy. Without it, downstream maintainers have a harder time replacing setuid-root patterns with smaller capability grants.
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 |
|---|---|---|---|
capsh | cli | global executable | |
getcap | cli | global executable | |
getpcaps | cli | global executable | |
setcap | 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://sites.google.com/site/fullycapable/
install metadata
| Package key | brew:libcap |
|---|---|
| Version | 2.78 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/libcap |
| Homepage | https://sites.google.com/site/fullycapable/ |
| Repository | https://git.kernel.org/pub/scm/libs/libcap/libcap.git |
| Upstream docs | https://sites.google.com/site/fullycapable |
| License | BSD-3-Clause AND GPL-2.0-or-later |
| Source archive | https://mirrors.edge.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-2.78.tar.xz |
| 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 |
| Version Scheme | 0 |
| Revision | 0 |
| 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
nix profile install nixpkgs#libcaplibcap 2.78-r0
POSIX 1003.1e capabilities
https://sites.google.com/site/fullycapable/
sudo apk add libcaplibcap-dev 2.78-r0
POSIX 1003.1e capabilities (development files)
https://sites.google.com/site/fullycapable/
sudo apk add libcap-devlibcap-doc 2.78-r0
POSIX 1003.1e capabilities (documentation)
https://sites.google.com/site/fullycapable/
sudo apk add libcap-doclibcap-getcap 2.78-r0
POSIX 1003.1e capabilities (getcap utility)
https://sites.google.com/site/fullycapable/
sudo apk add libcap-getcaplibcap-setcap 2.78-r0
POSIX 1003.1e capabilities (setcap utility)
https://sites.google.com/site/fullycapable/
sudo apk add libcap-setcaplibcap-static 2.78-r0
POSIX 1003.1e capabilities (static library)
https://sites.google.com/site/fullycapable/
sudo apk add libcap-staticlibcap-utils 2.78-r0
POSIX 1003.1e capabilities (extra utils)
https://sites.google.com/site/fullycapable/
sudo apk add libcap-utilslibcap2 2.78-r0
POSIX 1003.1e capabilities (libraries)
https://sites.google.com/site/fullycapable/
sudo apk add libcap2captree 2.78-1.fc45
Capability inspection utility
https://sites.google.com/site/fullycapable/
sudo dnf install captreelibcap 2.78-1.fc45
Library for getting and setting POSIX.1e capabilities
https://sites.google.com/site/fullycapable/
sudo dnf install libcaplibcap-devel 2.78-1.fc45
Development files for libcap
https://sites.google.com/site/fullycapable/
sudo dnf install libcap-devellibcap-static 2.78-1.fc45
Static libraries for libcap development
https://sites.google.com/site/fullycapable/
sudo dnf install libcap-staticlibcap 2.78-1
POSIX 1003.1e capabilities
https://sites.google.com/site/fullycapable/
sudo pacman -S libcaplibcap-devel 2.78-1.2
Development files for libcap
https://sites.google.com/site/fullycapable/
sudo zypper install libcap-devellibcap-progs 2.78-1.2
Libcap utility programs
https://sites.google.com/site/fullycapable/
sudo zypper install libcap-progssource 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.