aur-depends
aur-depends
resolves and displays the dependency tree for AUR packages.
Synopsis
aur depends [options] <pkgname...>
Description
aur-depends
queries the AUR RPC interface to compute the transitive dependency closure for one or more packages. It recursively finds all dependencies that are themselves in the AUR.
The default output is a list of pkgbase <tab> depends
pairs, suitable for use with tsort
to establish a valid build order.
Options
-a
,--all
: Include direct dependencies that are in the official repositories in the output.-n
,--pkgname
: Output dependencies bypkgname
instead of the defaultpkgbase
.-t
,--table
: Output dependency information in a detailed, tab-separated table format.-r
,--reverse
: Reverse the output todepends <tab> pkgbase
, suitable fortsort
.-J
,--json
: Print the full dependency information as a single JSON object.--jsonl
: Print information as JSON Lines (one JSON object per package per line).--verify
: Check versioned dependency requirements usingvercmp
.
Dependency Filtering
--optdepends
: Includeoptdepends
in the dependency resolution.--no-depends
: Excludedepends
.--no-makedepends
: Excludemakedepends
.--no-checkdepends
: Excludecheckdepends
.--no-provides
: Do not considerprovides
when resolving dependencies.--assume-installed=<package>
: Prune the specified package and its dependencies from the graph, treating it as already installed. Can be specified multiple times or as a comma-separated list.