carta
paccapability(1)

paccapability1

Query libalpm capabilities

Usage

paccapability [options] [<capability> ...]

paccapability {(--help | --version)}

Overview

paccapability provides a way to query which features libalpm was built with. Recognized capabilities are:

•

ALPM_CAPABILITY_NLS

•

ALPM_CAPABILITY_DOWNLOADER

•

ALPM_CAPABILITY_SIGNATURES

Capabilities are case-insensitive and may omit the leading "ALPM_CAPABILITY_". If no capabilities are provided, all enabled capabilities will be printed, one per line. Otherwise, each provided capability will printed, one per line, followed by a one or zero to indicate that the feature is enabled or disabled, respectively. If any given capabilities are disabled paccapability will exit with a non-zero value.

Options

--help

Display usage information and exit.

--version

Display version information and exit.

Examples

Check if libalpm was built with signature checking:
 paccapability signatures >/dev/null && ...

From pacutils 0.15.0-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.