pkg.soopen package index

brew / 排名 1479

使用 Homebrew, apk, dnf, pacman, apt, Nix, zypper 安装 libcap-ng

查看 libcap-ng 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install libcap-ng

local Homebrew formula metadata

Linux

Alpine Linux apk已验证 · 92%
sudo apk add libcap-ng

Alpine Linux edge package indexes · libcap-ng · 来源: dl-cdn.alpinelinux.org

Fedora dnf已验证 · 92%
sudo dnf install libcap-ng

Fedora Rawhide package metadata · libcap-ng · 来源: dl.fedoraproject.org

Arch Linux pacman已验证 · 92%
sudo pacman -S libcap-ng

Arch Linux sync databases · libcap-ng · 来源: geo.mirror.pkgbuild.com

Debian apt已验证 · 92%
sudo apt install libcap-ng-dev

Debian stable package indexes · libcap-ng-dev · 来源: deb.debian.org

Nix已验证 · 92%
nix profile install nixpkgs#libcap_ng

nixpkgs package indexes · pkgs/by-name/li/libcap_ng/package.nix · 来源: api.github.com

openSUSE zypper已验证 · 92%
sudo zypper install libcap-ng-devel

openSUSE Tumbleweed package metadata · libcap-ng-devel · 来源: download.opensuse.org

概览

软件包摘要

Library for Linux that makes using posix capabilities easy

命令和别名

  • filecap
  • netcap
  • pscap

历史

项目历史与用法

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.

时间线

  • 0.4: Initial public release, according to the upstream ChangeLog.
  • 0.6: Added Python bindings and an m4 macro for autotools consumers.
  • 0.8: Added ambient capability support and V3 filesystem capability support.
  • 2024-04-09: The project site listed libcap-ng 0.8.5 release files.
  • 0.9: The README documents a distribution move away from people.redhat.com release hosting to the GitHub page.

Related projects

  • Related projects include libcap, Linux capabilities, file capabilities, procfs capability inspection, systemd ambient capabilities, and eBPF-based capability auditing.

安全态势

风险级别:绿色

library-like package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • library-like package without higher-risk signals

信号

  • metadata:library-like

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
filecap可执行文件已索引可执行文件从本地可执行文件索引发现。
netcap可执行文件已索引可执行文件从本地可执行文件索引发现。
pscap可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-03
管理器版本0.9.3
管理器更新时间
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:libcap-ng
版本0.9.3
软件包管理器Homebrew
主页https://people.redhat.com/sgrubb/libcap-ng/
仓库https://github.com/stevegrubb/libcap-ng
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

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-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: libcap-ng
  • 1 依赖
  • normalized package name match
  • 匹配方式:Libcap Ng
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libcap-ng-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libcap-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-utils
  • Section: admin
  • Architecture: amd64
  • Source Package: libcap-ng
  • 2 依赖
  • normalized package name match
  • 匹配方式:Libcap Ng
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libcap-ng-utils from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libcap-ng0 0.8.5-4+b1

alternate POSIX capabilities library

https://people.redhat.com/sgrubb/libcap-ng

sudo apt install libcap-ng0
  • Section: libs
  • Architecture: amd64
  • Source Package: libcap-ng
  • 1 依赖
  • normalized package name match
  • 匹配方式:Libcap Ng
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libcap-ng0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

python3-cap-ng 0.8.5-4+b1

Python3 bindings for libcap-ng

https://people.redhat.com/sgrubb/libcap-ng

sudo apt install python3-cap-ng
  • Section: python
  • Architecture: amd64
  • Source Package: libcap-ng
  • 3 依赖
  • normalized package name match
  • 匹配方式:Libcap Ng
Debian stable package indexes · deb.debian.org · Debian stable package indexes: python3-cap-ng from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

libcap_ng

nix profile install nixpkgs#libcap_ng
  • normalized package name match
  • 匹配方式:Libcap Ng
nixpkgs package indexes · api.github.com · 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 apt95%

libcap-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-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: libcap-ng
  • 1 依赖
  • normalized package name match
  • 匹配方式:Libcap Ng
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libcap-ng-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libcap-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-utils
  • Section: universe/admin
  • Architecture: amd64
  • Source Package: libcap-ng
  • 2 依赖
  • normalized package name match
  • 匹配方式:Libcap Ng
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libcap-ng-utils from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libcap-ng0 0.8.4-2build2

alternate POSIX capabilities library

https://people.redhat.com/sgrubb/libcap-ng

sudo apt install libcap-ng0
  • Section: libs
  • Architecture: amd64
  • Source Package: libcap-ng
  • 1 依赖
  • normalized package name match
  • 匹配方式:Libcap Ng
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libcap-ng0 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

python3-cap-ng 0.8.4-2build2

Python3 bindings for libcap-ng

https://people.redhat.com/sgrubb/libcap-ng

sudo apt install python3-cap-ng
  • Section: universe/python
  • Architecture: amd64
  • Source Package: libcap-ng
  • 3 依赖
  • normalized package name match
  • 匹配方式:Libcap Ng
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: python3-cap-ng from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

libcap-ng 0.8.5-r2

POSIX capabilities library

https://people.redhat.com/sgrubb/libcap-ng/index.html

sudo apk add libcap-ng
  • License: GPL-2.0-or-later AND LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: libcap-ng
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Libcap Ng
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libcap-ng from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

libcap-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-dev
  • License: GPL-2.0-or-later AND LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: libcap-ng
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Libcap Ng
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libcap-ng-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

libcap-ng-doc 0.8.5-r2

POSIX capabilities library (documentation)

https://people.redhat.com/sgrubb/libcap-ng/index.html

sudo apk add libcap-ng-doc
  • License: GPL-2.0-or-later AND LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: libcap-ng
  • normalized package name match
  • 匹配方式:Libcap Ng
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libcap-ng-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

libcap-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-static
  • License: GPL-2.0-or-later AND LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: libcap-ng
  • normalized package name match
  • 匹配方式:Libcap Ng
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libcap-ng-static from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

libcap-ng-utils 0.8.5-r2

posix capabilities utils

https://people.redhat.com/sgrubb/libcap-ng/index.html

sudo apk add libcap-ng-utils
  • License: GPL-2.0-or-later AND LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: libcap-ng
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Libcap Ng
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libcap-ng-utils from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

py3-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-ng
  • License: GPL-2.0-or-later AND LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: libcap-ng
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Libcap Ng
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: py3-libcap-ng from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf95%

libcap-ng 0.9.3-4.fc45

Alternate posix capabilities library

https://github.com/stevegrubb/libcap-ng

sudo dnf install libcap-ng
  • License: LGPL-2.0-or-later
  • Category: Unspecified
  • Architecture: i686
  • Source Package: libcap-ng
  • 3 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式:Libcap Ng
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: libcap-ng from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation