Manual Page Search Parameters

XBPS-DGRAPH(1) General Commands Manual XBPS-DGRAPH(1)

xbps-dgraphXBPS utility to generate package dot(1) graphs

xbps-dgraph [OPTIONS] MODE PKG

The xbps-dgraph utility generates a dot(1) graph of a specific package stored in target root directory or in registered repositories and prints the result to stdout. The argument PKG is a package expression, which is explained in the section.

A package expression is a form to match a pattern; currently xbps supports 3 ways to specify them:

  • by package name, i.e: “”.
  • by exact package name and version, i.e: “”.
  • by specifying a package name and version separated by any of the following version comparators:

    • less than
    • greater than
    • less or equal than
    • greater or equal than

      Example: “”.

The first repository matching the package expression wins.

--config dir
Specifies a path to the XBPS configuration directory. If the first character is not '/' then it's a relative path of rootdir.
--graph-config file
Specifies a path to the graph configuration file, to modify the settings of the generated graphs.
Enables extra debugging shown to stderr.
Show the help message.
For remote repositories, the data is fetched and stored in memory for the current operation. This ignores the existing on-disk repository archives in rootdir.
Enable repository mode. This mode explicitly looks in repositories, rather than looking in the target root directory.
--rootdir dir
Specifies a full path for the target root directory.
Show the version information.

Only one of the following modes can be used at a time. By default and unless the -R option is specified, the target PKG will be queried in the root directory, otherwise it will be queried in registered repositories.

Generates a graph configuration file in the current working directory.
Generates a full dependency graph of the target package.
Generates a metadata graph of the target package.

Overrides uname(2) machine result with this value. Useful to install packages with a fake architecture.
Sets the target architecture to this value. This variable differs from XBPS_ARCH in that it allows you to install packages partially, because configuration phase is skipped (the target binaries might not be compatible with the native architecture).

Default configuration directory.
Default system configuration directory.
Package files metadata.
Default package database (0.38 format). Keeps track of installed packages and properties.
Default cache directory to store downloaded binary packages.

xbps-checkvers(1), xbps-create(1), xbps-digest(1), xbps-fbulk(1), xbps-fetch(1), xbps-install(1), xbps-pkgdb(1), xbps-query(1), xbps-reconfigure(1), xbps-remove(1), xbps-rindex(1), xbps-uchroot(1), xbps-uunshare(1), xbps.d(5)

Juan Romero Pardines <>

Probably, but I try to make this not happen. Use it under your own responsibility and enjoy your life.

Report bugs at

June 12, 2019