Browse Source

pacman-deptest: add page (#5304)

Axel Navarro 4 years ago
parent
commit
01496626a2
1 changed files with 20 additions and 0 deletions
  1. 20 0
      pages/linux/pacman-deptest.md

+ 20 - 0
pages/linux/pacman-deptest.md

@@ -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`