rpmgraph(1) — Linux manual page

NAME | SYNOPSIS | DESCRIPTION | ARGUMENTS | OPTIONS | EXIT STATUS | SEE ALSO | COLOPHON

RPMGRAPH(1)              General Commands Manual              RPMGRAPH(1)

NAME         top

       rpmgraph - Generate an RPM Package Dependency Graph

SYNOPSIS         top

       rpmgraph [options] PACKAGE_FILE ...

DESCRIPTION         top

       rpmgraph reads rpm packages passed as arguments, sorts them as for
       installation with rpm(8), and produces a dependency graph on the
       standard output.

       Nodes in the dependency graph are package names, and edges in the
       directed graph point to the parent of each node. The parent node
       is defined as the last predecessor of a package when partially
       ordered using the package dependencies as a relation. That means
       that the parent of a given package is the package's last
       prerequisite.

       The output is in dot(1) directed graph format, and can be
       displayed or printed using the dotty(1) graph editor from the
       Graphviz project.

ARGUMENTS         top

       PACKAGE_FILE
           Either an rpm package or an rpm-manifest(5) file.

OPTIONS         top

       See rpm-common(8) for the options common to all rpm commands.

EXIT STATUS         top

       On success, 0 is returned, a nonzero failure code otherwise.

SEE ALSO         top

       dot(1), dotty(1)

       http://www.graphviz.org/ 

COLOPHON         top

       This page is part of the rpm (RPM Package Manager) project.
       Information about the project can be found at 
       ⟨https://github.com/rpm-software-management/rpm⟩.  It is not known
       how to report bugs for this man page; if you know, please send a
       mail to man-pages@man7.org.  This page was obtained from the
       project's upstream Git repository
       ⟨https://github.com/rpm-software-management/rpm.git⟩ on
       2026-01-16.  (At that time, the date of the most recent commit
       that was found in the repository was 2026-01-15.)  If you discover
       any rendering problems in this HTML version of the page, or you
       believe there is a better or more up-to-date source for the page,
       or you have corrections or improvements to the information in this
       COLOPHON (which is not part of the original manual page), send a
       mail to man-pages@man7.org

RPM 6.0.90                      2026-01-16                    RPMGRAPH(1)