1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-05 12:45:59 +02:00

pacman-query: add page (#5269)

This commit is contained in:
Axel Navarro 2021-02-18 21:44:34 -03:00 committed by GitHub
parent c28ff26226
commit 0f4bf14bd6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,36 @@
# pacman --query
> Arch Linux package manager utility.
> 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_name}}`
- List files owned by a package:
`pacman --query --list {{package_name}}`
- 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`