mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-07 20:57:20 +00:00
Update cheatsheets
This commit is contained in:
26
linux/pacman-deptest
Normal file
26
linux/pacman-deptest
Normal file
@@ -0,0 +1,26 @@
|
||||
---
|
||||
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://man.archlinux.org/man/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`
|
||||
Reference in New Issue
Block a user