Automic VaultAutomic Vault

brew

Installer libcap avec Homebrew, apk, dnf, Nix, pacman, zypper

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de libcap pour les workflows d'agents IA.

installation

Commandes d'installation supplémentaires

macOS

Homebrewvérifié · 100%
brew install libcap

local Homebrew formula metadata

Linux

Alpine Linux apkvérifié · 92%
sudo apk add libcap

Alpine Linux edge package indexes · libcap · Source: dl-cdn.alpinelinux.org

Fedora dnfvérifié · 92%
sudo dnf install libcap

Fedora Rawhide package metadata · libcap · Source: dl.fedoraproject.org

Nixvérifié · 92%
nix profile install nixpkgs#libcap

nixpkgs package indexes · pkgs/by-name/li/libcap/package.nix · Source: api.github.com

Arch Linux pacmanvérifié · 92%
sudo pacman -S libcap

Arch Linux sync databases · libcap · Source: geo.mirror.pkgbuild.com

openSUSE zyppervérifié · 92%
sudo zypper install libcap-devel

openSUSE Tumbleweed package metadata · libcap-devel · Source: download.opensuse.org

aperçu

Résumé du paquet

User-space interfaces to POSIX 1003.1e capabilities

Commandes et alias

  • capsh
  • getcap
  • getpcaps
  • setcap

historique

Historique du projet et usages

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.

Historique du projet

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.

Historique d'adoption

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.

Modes d'utilisation

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.

Pourquoi les passionnés de paquets s'y intéressent

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.

Chronologie

  • POSIX.1e draft 15: Upstream README identifies this draft as the capabilities model libcap targets.
  • 2024-05-18: kernel.org refs list libcap 2.70 tags.
  • 2024-10-25: kernel.org refs list libcap 2.71 tags.
  • 2025-03-04: kernel.org refs list libcap 2.75 tags.
  • 2026-04-05: kernel.org refs list libcap 2.78 tags.

Related projects

  • Related projects include the Linux kernel capability implementation, libcap-ng, libpsx, pam_cap, Go cap and psx packages, and distribution packaging that replaces setuid-root usage with file capabilities.

posture de sécurité

Niveau de risque : vert

library-like package without higher-risk signals.

Classificateur de risque

risque vert · confiance faible · appliance

Pourquoi

  • library-like package without higher-risk signals

Signaux

  • metadata:library-like

Comportement d'installation

  • Aucun hook post-install Homebrew n’est enregistré dans les métadonnées de formule.
  • Les métadonnées de bottle Homebrew sont disponibles pour 2 plateformes.

Revue recommandée

Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.

exécutables

Exécutables installés

CommandeTypeExpositionNote
capshcliexécutable global
getcapcliexécutable global
getpcapscliexécutable global
setcapcliexécutable global

fraîcheur

Version et fraîcheur

Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.

page générée2026-07-10
version du gestionnaire2.78
gestionnaire mis à jour
données localesOK
amontnot checked
dernière version détectéenon détecté

https://sites.google.com/site/fullycapable/

métadonnées d'installation

Métadonnées du paquet

Clé du paquetbrew:libcap
Version2.78
Gestionnaire de paquetsHomebrew
Page du gestionnaire de paquetshttps://formulae.brew.sh/formula/libcap
Page d'accueilhttps://sites.google.com/site/fullycapable/
Dépôthttps://git.kernel.org/pub/scm/libs/libcap/libcap.git
Docs amonthttps://sites.google.com/site/fullycapable
LicenceBSD-3-Clause AND GPL-2.0-or-later
Archive sourcehttps://mirrors.edge.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-2.78.tar.xz
Bouteilledisponible (sur arm64_linux, x86_64_linux)
post-install Homebrewnon défini
Serviceaucun déclaré

faits du registre

Détails de la base source

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namelibcap
Version Scheme0
Revision0
Requirements
  • linux
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

correspondances dans les bases sources

Autres enregistrements de gestionnaires de paquets

Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.

Nix95%

libcap

nix profile install nixpkgs#libcap
  • normalized package name match
  • Correspondance par : Libcap
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/li/libcap/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

libcap 2.78-r0

POSIX 1003.1e capabilities

https://sites.google.com/site/fullycapable/

sudo apk add libcap
  • License: BSD-3-Clause OR GPL-2.0-only
  • Architecture: x86_64
  • Source Package: libcap
  • 1 Dépendances
  • normalized package name match
  • Correspondance par : Libcap
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libcap from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

libcap-dev 2.78-r0

POSIX 1003.1e capabilities (development files)

https://sites.google.com/site/fullycapable/

sudo apk add libcap-dev
  • License: BSD-3-Clause OR GPL-2.0-only
  • Architecture: x86_64
  • Source Package: libcap
  • 1 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : Libcap
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libcap-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

libcap-doc 2.78-r0

POSIX 1003.1e capabilities (documentation)

https://sites.google.com/site/fullycapable/

sudo apk add libcap-doc
  • License: BSD-3-Clause OR GPL-2.0-only
  • Architecture: x86_64
  • Source Package: libcap
  • normalized package name match
  • Correspondance par : Libcap
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libcap-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

libcap-getcap 2.78-r0

POSIX 1003.1e capabilities (getcap utility)

https://sites.google.com/site/fullycapable/

sudo apk add libcap-getcap
  • License: BSD-3-Clause OR GPL-2.0-only
  • Architecture: x86_64
  • Source Package: libcap
  • 1 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : Libcap
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libcap-getcap from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

libcap-setcap 2.78-r0

POSIX 1003.1e capabilities (setcap utility)

https://sites.google.com/site/fullycapable/

sudo apk add libcap-setcap
  • License: BSD-3-Clause OR GPL-2.0-only
  • Architecture: x86_64
  • Source Package: libcap
  • 1 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : Libcap
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libcap-setcap from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

libcap-static 2.78-r0

POSIX 1003.1e capabilities (static library)

https://sites.google.com/site/fullycapable/

sudo apk add libcap-static
  • License: BSD-3-Clause OR GPL-2.0-only
  • Architecture: x86_64
  • Source Package: libcap
  • normalized package name match
  • Correspondance par : Libcap
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libcap-static from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

libcap-utils 2.78-r0

POSIX 1003.1e capabilities (extra utils)

https://sites.google.com/site/fullycapable/

sudo apk add libcap-utils
  • License: BSD-3-Clause OR GPL-2.0-only
  • Architecture: x86_64
  • Source Package: libcap
  • 1 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : Libcap
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libcap-utils from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

libcap2 2.78-r0

POSIX 1003.1e capabilities (libraries)

https://sites.google.com/site/fullycapable/

sudo apk add libcap2
  • License: BSD-3-Clause OR GPL-2.0-only
  • Architecture: x86_64
  • Source Package: libcap
  • 1 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : Libcap
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libcap2 from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf95%

captree 2.78-1.fc45

Capability inspection utility

https://sites.google.com/site/fullycapable/

sudo dnf install captree
  • License: BSD-3-Clause OR GPL-2.0-only
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: libcap
  • 3 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : Libcap
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: captree from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

libcap 2.78-1.fc45

Library for getting and setting POSIX.1e capabilities

https://sites.google.com/site/fullycapable/

sudo dnf install libcap
  • License: BSD-3-Clause OR GPL-2.0-only
  • Category: Unspecified
  • Architecture: i686
  • Source Package: libcap
  • 4 Dépendances
  • 4 fournit
  • normalized package name match
  • Correspondance par : Libcap
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: libcap from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

libcap-devel 2.78-1.fc45

Development files for libcap

https://sites.google.com/site/fullycapable/

sudo dnf install libcap-devel
  • License: BSD-3-Clause OR GPL-2.0-only
  • Category: Unspecified
  • Architecture: i686
  • Source Package: libcap
  • 4 Dépendances
  • 2 fournit
  • normalized package name match
  • Correspondance par : Libcap
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: libcap-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

libcap-static 2.78-1.fc45

Static libraries for libcap development

https://sites.google.com/site/fullycapable/

sudo dnf install libcap-static
  • License: BSD-3-Clause OR GPL-2.0-only
  • Category: Unspecified
  • Architecture: i686
  • Source Package: libcap
  • 1 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : Libcap
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: libcap-static from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

libcap 2.78-1

POSIX 1003.1e capabilities

https://sites.google.com/site/fullycapable/

sudo pacman -S libcap
  • License: BSD-3-Clause OR GPL-2.0-only
  • Architecture: x86_64
  • 2 Dépendances
  • 2 fournit
  • normalized package name match
  • Correspondance par : Libcap
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: libcap from https://geo.mirror.pkgbuild.com/core/os/x86_64/core.db.tar.gz
zypper95%

libcap-devel 2.78-1.2

Development files for libcap

https://sites.google.com/site/fullycapable/

sudo zypper install libcap-devel
  • License: BSD-3-Clause OR GPL-2.0-only
  • Category: Development/Libraries/C and C++
  • Architecture: x86_64
  • Source Package: libcap
  • 4 Dépendances
  • 2 fournit
  • normalized package name match
  • Correspondance par : Libcap
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libcap-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

libcap-progs 2.78-1.2

Libcap utility programs

https://sites.google.com/site/fullycapable/

sudo zypper install libcap-progs
  • License: BSD-3-Clause OR GPL-2.0-only
  • Category: System/Filesystems
  • Architecture: x86_64
  • Source Package: libcap
  • 3 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : Libcap
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libcap-progs from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

piste source

Généré depuis les données du dépôt

Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.

Sources utilisées

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment