mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-03-28 21:16:20 +01:00
pacman-deptest: add page (#5304)
This commit is contained in:
parent
8268626f1d
commit
01496626a2
1 changed files with 20 additions and 0 deletions
20
pages/linux/pacman-deptest.md
Normal file
20
pages/linux/pacman-deptest.md
Normal file
|
@ -0,0 +1,20 @@
|
|||
# pacman --deptest
|
||||
|
||||
> Check each dependency specified and return a list of dependencies that are not currently satisfied on the system.
|
||||
> More information: <https://man.archlinux.org/man/pacman.8>.
|
||||
|
||||
- Print the package names of the dependencies that aren't installed:
|
||||
|
||||
`pacman --deptest {{package_name1}} {{package_name2}}`
|
||||
|
||||
- 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`
|
Loading…
Add table
Reference in a new issue