AUR-DEPENDS(1)

NAME
aur-depends - retrieve dependencies using aurweb

SYNOPSIS
aur depends [-anrtJ] pkgname [pkgname...]

DESCRIPTION
aur-depends solves dependencies for packages provided on the command line using aur-query(1). If a hyphen is specified, packages are taken from standard input.

The transitive closure of dependencies within AUR is computed, with Dependency information printed to standard output as edges pkgbase\tdepends. By default, depends resolves to pkgbase.

OPTIONS

-a, --all, --show-all
    Include direct pacman(8) dependencies of dependencies in the output. Implies --pkgname.

-n, --pkgname
    Print dependency information to stdout as pkgname instead of pkgbase. Unless --all is specified, only AUR dependencies are printed.

-t, --table
    Print dependency information in the following format:

    pkgname\tdepends\tpkgbase\tpkgver\ttype

    where type is one of Self, Depends, MakeDepends, CheckDepends and OptDepends.

-r, --reverse
    Print depends\tpkgbase pairs as input for tsort(1). When combined with --table, the depends column is replaced with reverse dependencies (requiredby). Version information is left out in this case. When combined with --all, unknown reverse dependencies are marked with a hyphen.

-J, --json
    Print dependency information as JSON.

--jsonl
    Print dependency information as JSON Lines (newline delimited JSON).

  Dependency options
When resolving dependencies, aur-depends considers all types ( depends, makedepends, and checkdepends) of dependencies by default. optdepends can be taken into account with the --optdepends option.

Types can be removed selectively with the --no-depends, --no-makedepends, and --no-checkdepends options. In particular, these options may be used to bypass cycles between dependencies of differing types.

Support for virtual dependencies (provides) can be disabled with the --no-provides option. In particular, any packages listed on the command-line can only provide themselves with this option enabled.

Dependencies can be removed selectively with the --assume-installed option. Multiple packages can be specified by separating them with a comma.

Dependency requirements are checked with vercmp(8) if the --verify option is specified.

NOTES
While versioned dependencies are listed, they are ignored when resolving the dependency graph. This is because versioned queries are not supported by aurweb, and no additional comparisons are done by aur-depends. The resulting .SRCINFO files can however be checked for consistency with aur-graph(1). See FS#54906 for details.

SEE ALSO
aur(1), aur-graph(1), aur-query(1)

AUTHORS
Alad Wenter (https://github.com/AladW)