Check if the installed package satisfies the given minimum version

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>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

pacman --deptest "{{bash>=5}}"

click the source code to copy install pacman --deptest on any operating system with command-not-found.com