# Install libcap-ng

Library for Linux that makes using posix capabilities easy. Version 0.9.3 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:libcap-ng
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install libcap-ng
```

  Evidence: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add libcap-ng
```

  Evidence: Alpine Linux edge package indexes: libcap-ng from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install libcap-ng-dev
```

  Evidence: Debian stable package indexes: libcap-ng-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install libcap-ng
```

  Evidence: Fedora Rawhide package metadata: libcap-ng from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/13ee7b80cb813542594d4235c4a0b8695435d5ecf23dd3580bc7515ae1b6180d-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#libcap_ng
```

  Evidence: nixpkgs package indexes: pkgs/by-name/li/libcap_ng/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S libcap-ng
```

  Evidence: Arch Linux sync databases: libcap-ng from https://geo.mirror.pkgbuild.com/core/os/x86_64/core.db.tar.gz

- zypper (92%):

```sh
sudo zypper install libcap-ng-devel
```

  Evidence: openSUSE Tumbleweed package metadata: libcap-ng-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/155b97171d05e27afd950b6fe0d55513ff38f4597110664535bceedc680bbe6fd459f0733718dcc21dcf0efc7c8250fd1390c73d4790b42e62fb2c16a87242e5-primary.xml.zst

## Package Facts

- **Package key:** brew:libcap-ng
- **Package manager:** Homebrew
- **Package manager URL:** <https://formulae.brew.sh/formula/libcap-ng>
- **Version:** 0.9.3
- **Source summary:** Library for Linux that makes using posix capabilities easy
- **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>
- **Generated:** 2026-06-10T07:18:26+00:00

## Executables

- filecap (cli)
- netcap (cli)
- pscap (cli)
- filecap (alias)
- netcap (alias)
- pscap (alias)

## Build Dependencies

- autoconf
- automake
- libtool
- m4
- pkgconf
- python-setuptools
- python@3.14
- swig

## Install Behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, x86_64_linux

## Freshness

- Page generated: 2026-06-10
- Package-manager version: 0.9.3
- Local data status: ok
- Upstream repository: https://github.com/stevegrubb/libcap-ng
- Upstream latest detected: v0.9.3 (current)
- info: No package-manager update timestamp was available.

## Sicherheitshinweise

library-like package without higher-risk signals.

- **Geiger risk:** green / low
- library-like package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** libcap-ng
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Requirements:** linux
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Other Package-Manager Records

- Debian apt - libcap-ng-dev - 0.8.5-4+b1: normalized package name match | Debian stable package indexes: libcap-ng-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Development and header files for libcap-ng | https://people.redhat.com/sgrubb/libcap-ng
- Debian apt - libcap-ng-utils - 0.8.5-4+b1: normalized package name match | Debian stable package indexes: libcap-ng-utils from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Utilities for analysing and setting file capabilities | https://people.redhat.com/sgrubb/libcap-ng
- Debian apt - libcap-ng0 - 0.8.5-4+b1: normalized package name match | Debian stable package indexes: libcap-ng0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | alternate POSIX capabilities library | https://people.redhat.com/sgrubb/libcap-ng
- Debian apt - python3-cap-ng - 0.8.5-4+b1: normalized package name match | Debian stable package indexes: python3-cap-ng from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Python3 bindings for libcap-ng | https://people.redhat.com/sgrubb/libcap-ng
- Nix - libcap_ng: normalized package name match | nixpkgs package indexes: pkgs/by-name/li/libcap_ng/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libcap-ng-dev - 0.8.4-2build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libcap-ng-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | Development and header files for libcap-ng | https://people.redhat.com/sgrubb/libcap-ng
- Ubuntu apt - libcap-ng-utils - 0.8.4-2build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libcap-ng-utils from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Utilities for analysing and setting file capabilities | https://people.redhat.com/sgrubb/libcap-ng
- Ubuntu apt - libcap-ng0 - 0.8.4-2build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libcap-ng0 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | alternate POSIX capabilities library | https://people.redhat.com/sgrubb/libcap-ng
- Ubuntu apt - python3-cap-ng - 0.8.4-2build2: normalized package name match | Ubuntu 24.04 LTS package indexes: python3-cap-ng from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Python3 bindings for libcap-ng | https://people.redhat.com/sgrubb/libcap-ng
- apk - libcap-ng - 0.8.5-r2: normalized package name match | Alpine Linux edge package indexes: libcap-ng from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | POSIX capabilities library | https://people.redhat.com/sgrubb/libcap-ng/index.html
- apk - libcap-ng-dev - 0.8.5-r2: normalized package name match | Alpine Linux edge package indexes: libcap-ng-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | POSIX capabilities library (development files) | https://people.redhat.com/sgrubb/libcap-ng/index.html
- apk - libcap-ng-doc - 0.8.5-r2: normalized package name match | Alpine Linux edge package indexes: libcap-ng-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | POSIX capabilities library (documentation) | https://people.redhat.com/sgrubb/libcap-ng/index.html
- apk - libcap-ng-static - 0.8.5-r2: normalized package name match | Alpine Linux edge package indexes: libcap-ng-static from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | POSIX capabilities library (static library) | https://people.redhat.com/sgrubb/libcap-ng/index.html
- apk - libcap-ng-utils - 0.8.5-r2: normalized package name match | Alpine Linux edge package indexes: libcap-ng-utils from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | posix capabilities utils | https://people.redhat.com/sgrubb/libcap-ng/index.html
- apk - py3-libcap-ng - 0.8.5-r2: normalized package name match | Alpine Linux edge package indexes: py3-libcap-ng from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | python bindings for libcap-ng | https://people.redhat.com/sgrubb/libcap-ng/index.html
- dnf - libcap-ng - 0.9.3-1.fc45: normalized package name match | Fedora Rawhide package metadata: libcap-ng from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/13ee7b80cb813542594d4235c4a0b8695435d5ecf23dd3580bc7515ae1b6180d-primary.xml.zst | Alternate posix capabilities library | https://github.com/stevegrubb/libcap-ng


## Related Links

- [Terminal utility packages](https://www.automicvault.com/de/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/de/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Security and crypto packages](https://www.automicvault.com/de/pkg/security-crypto-tools/) - Matched security, identity, cryptography, password, signing, or certificate metadata.
- [Homebrew utility packages](https://www.automicvault.com/de/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [python@3.14](https://www.automicvault.com/de/pkg/brew/python-3-14/) - Build dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/de/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [m4](https://www.automicvault.com/de/pkg/brew/m4/) - Build dependency declared by Homebrew.
- [libtool](https://www.automicvault.com/de/pkg/brew/libtool/) - Build dependency declared by Homebrew.
- [libcap](https://www.automicvault.com/de/pkg/brew/libcap/) - Shares av.db curated category or tags: cli, library, linux, linux-capabilities, permissions.
- [gnutls](https://www.automicvault.com/de/pkg/brew/gnutls/) - Shares av.db curated category or tags: cli, library, security.
- [cyrus-sasl](https://www.automicvault.com/de/pkg/brew/cyrus-sasl/) - Shares av.db curated category or tags: cli, library, security.
- [linux-pam](https://www.automicvault.com/de/pkg/brew/linux-pam/) - Shares av.db curated category or tags: cli, linux, security.
- [opensc](https://www.automicvault.com/de/pkg/brew/opensc/) - Shares av.db curated category or tags: cli, library, security.
- [botan](https://www.automicvault.com/de/pkg/brew/botan/) - Shares av.db curated category or tags: cli, library, security.
- [ykpers](https://www.automicvault.com/de/pkg/brew/ykpers/) - Shares av.db curated category or tags: cli, library, security.
- [cracklib](https://www.automicvault.com/de/pkg/brew/cracklib/) - Shares av.db curated category or tags: cli, library, security.
- [bubblewrap](https://www.automicvault.com/de/pkg/brew/bubblewrap/) - Security-sensitive metadata or terminology overlaps. Shared terms: cli, libcap, linux, security.
- [git-credential-oauth](https://www.automicvault.com/de/pkg/brew/git-credential-oauth/) - Security-sensitive metadata or terminology overlaps. Shared terms: cli, security, that, using.

## Sources

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