PACCAPABILITY(1) | paccapability | PACCAPABILITY(1) |
NAME
paccapability - query libalpm capabilities
SYNOPSIS
paccapability [options] [<capability>...] paccapability (--help|--version)
DESCRIPTION
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
EXAMPLES
- Check if libalpm was built with signature checking:
-
paccapability signatures >/dev/null && ...
2024-09-14 | pacutils |