LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

pacconf

queries and displays pacman's configuration as it would be parsed by pacman

TLDR

Show full parsed pacman configuration
$ pacconf
copy
List configured repositories
$ pacconf --repo-list
copy
Always show directive names even for single directives
$ pacconf --verbose [directive]
copy
Display only first value of multi-value options
$ pacconf --single
copy
Display help
$ pacconf --help
copy

SYNOPSIS

pacconf [options] [directive...]

DESCRIPTION

pacconf queries and displays pacman's configuration as it would be parsed by pacman itself. It can show the complete configuration or specific directive values, making it useful for scripts that need to read pacman settings.The tool handles configuration include directives and processes values the same way pacman does, ensuring accurate representation of the active configuration. It can query global options or repository-specific settings.

PARAMETERS

--config file

Use alternate configuration file
--root path
Use alternate installation root
--repo-list
List configured repositories
--repo name
Query options for specific repository
--verbose
Always show directive names in output
--single
Display only the first value of multi-value directives
--null
Use null delimiter for output
--raw
Display unprocessed directive values
--help
Display help information
--version
Display version information

CAVEATS

Output represents the parsed configuration, which may differ from the raw config file due to includes and defaults. Repository-specific queries require the --repo option.

HISTORY

Part of pacutils, a collection of helper utilities for pacman by Andrew Gregory. Provides programmatic access to pacman configuration, useful for system administration scripts and tools that interact with pacman.

SEE ALSO

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid