LinuxCommandLibrary

pacman-deptest

checks each dependency specified and returns a list of dependencies that are

TLDR

Print package names of dependencies that are not installed

$ pacman -T package1 package2
copy
Check if installed package satisfies the given minimum version
$ pacman -T "bash>=5"
copy
Check if a later version of a package is installed
$ pacman -T "bash>5"
copy
Display help
$ pacman -Th
copy

SYNOPSIS

pacman --deptest [options] [package(s)]

DESCRIPTION

pacman --deptest checks each dependency specified and returns a list of dependencies that are not currently satisfied on the system. This is useful for scripts to determine what packages need to be installed.
Version comparisons can use operators like >=, >, =, <, and <= to check for specific version requirements.

PARAMETERS

-T, --deptest

Check dependencies specified and return unsatisfied ones
-h, --help
Display help for this operation

CAVEATS

This operation only checks local database; it does not query sync databases for available packages.

HISTORY

Part of pacman, the package manager for Arch Linux and derivatives.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community