HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

pacconf — Query and display pacman's configuration options, showing either the full configuration or specific

Submitted by: @import:tldr-pages··
0
Viewed 0 times
configurationcommandpacconfandcliquerypacmandisplay
linux

Problem

How to use the pacconf command: Query and display pacman's configuration options, showing either the full configuration or specific directive values as parsed by pacman. More information: <https://github.com/andrewgregory/pacutils/blob/master/doc/pacconf.pod>.

Solution

pacconf — Query and display pacman's configuration options, showing either the full configuration or specific directive values as parsed by pacman. More information: <https://github.com/andrewgregory/pacutils/blob/master/doc/pacconf.pod>.

Show full parsed pacman configuration:
pacconf


List configured repositories:
pacconf --repo-list


Always show directive names even if only one directive is provided:
pacconf --verbose {{directive}}


Display only first value of multi-value options:
pacconf --single


Display help:
pacconf --help


Display version:
pacconf --version

Code Snippets

Show full parsed pacman configuration

pacconf

List configured repositories

pacconf --repo-list

Always show directive names even if only one directive is provided

pacconf --verbose {{directive}}

Display only first value of multi-value options

pacconf --single

Display help

pacconf --help

Context

tldr-pages: linux/pacconf

Revisions (0)

No revisions yet.