Back to search results
libcap-ng owner avatar

libcap-ng

Libcap-ng is a library for Linux that makes using posix capabilities easy.

Library capabilities linux security
Minimal

Install package

Latest
min add libcap-ng
Source archive SHA256
df6910d9…f813
Spec hash
232fdf1a…551b
Target
amd64/linux
Needs network
No
Closed source
No

Quick links

[ Docs ] [ Changelog ] [ Repo ] [ Security ] [ SBOM ]

What is libcap-ng?

Libcap-ng is a library for Linux that makes using posix capabilities easy.

How to use this package

Quick install

Installs the package into the current environment for this session. Use --build or --runtime to persist it as a build-time or runtime dependency.

min add libcap-ng

Declare as a task dependency in minimal.toml

Listing the package under tasks.<name>.packages makes it available inside that task’s sandbox.

[tasks.dev]
packages = ["libcap-ng"]

Build-time vs runtime

Choose build-time for tools needed during compilation, runtime for dynamic libraries loaded at runtime.

min add --build libcap-ng
min add --runtime libcap-ng