Files
cheatsheet-tldr/tldr/linux/pacman-deptest
2025-01-04 00:17:12 +00:00

27 lines
623 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 are not installed:
`pacman -T {{package1 package2 ...}}`
- Check if the installed package satisfies the given minimum version:
`pacman -T "{{bash>=5}}"`
- Check if a later version of a package is installed:
`pacman -T "{{bash>5}}"`
- Display [h]elp:
`pacman -Th`