Files
cheatsheet-tldr/tldr/linux/pacman-deptest
2024-09-25 00:17:11 +00:00

27 lines
654 B
Plaintext

---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# pacman --deptest
> Check each dependency specified and return a list of dependencies that are not currently satisfied on the system.
> See also: `pacman`.
> More information: <https://manned.org/pacman.8>.
- Print the package names of the dependencies that aren't installed:
`pacman --deptest {{package1 package2 ...}}`
- Check if the installed package satisfies the given minimum version:
`pacman --deptest "{{bash>=5}}"`
- Check if a later version of a package is installed:
`pacman --deptest "{{bash>5}}"`
- Display help:
`pacman --deptest --help`