mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-23 23:22:07 +02:00

* pages/*, style-guide: update pages, fix Markdown (commit 1) * Update pages * style-guide.de: update page * Apply suggestions from code review Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> * pip3: remove search command * rpm: update path placeholder Co-authored-by: pixel <pixel+github@chrissx.de> * Update pages/linux/pkgfile.md Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> --------- Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> Co-authored-by: pixel <pixel+github@chrissx.de>
37 lines
800 B
Markdown
37 lines
800 B
Markdown
# pacman --query
|
|
|
|
> Arch Linux package manager utility.
|
|
> See also: `pacman`.
|
|
> More information: <https://man.archlinux.org/man/pacman.8>.
|
|
|
|
- List installed packages and versions:
|
|
|
|
`pacman --query`
|
|
|
|
- List only packages and versions that were explicitly installed:
|
|
|
|
`pacman --query --explicit`
|
|
|
|
- Find which package owns a file:
|
|
|
|
`pacman --query --owns {{filename}}`
|
|
|
|
- Display information about an installed package:
|
|
|
|
`pacman --query --info {{package}}`
|
|
|
|
- List files owned by a package:
|
|
|
|
`pacman --query --list {{package}}`
|
|
|
|
- List orphan packages (installed as dependencies but not required by any package):
|
|
|
|
`pacman --query --unrequired --deps --quiet`
|
|
|
|
- List installed packages not found in the repositories:
|
|
|
|
`pacman --query --foreign`
|
|
|
|
- List outdated packages:
|
|
|
|
`pacman --query --upgrades`
|