.\" Generated by scdoc 1.11.4 .\" Complete documentation for this program is not available as a GNU info page .ie \n(.g .ds Aq \(aq .el .ds Aq ' .nh .ad l .\" Begin generated content: .TH "RPMGRAPH" "1" "2026-01-08" "RPM 6.0.1" .PP .SH NAME rpmgraph - Generate an RPM Package Dependency Graph .PP .SH SYNOPSIS \fBrpmgraph\fR [options] \fIPACKAGE_FILE\fR .\&.\&.\& .PP .SH DESCRIPTION \fBrpmgraph\fR reads \fBrpm\fR packages passed as arguments, sorts them as for installation with \fBrpm\fR(8), and produces a dependency graph on the standard output.\& .PP 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.\& .PP The output is in \fBdot\fR(1) directed graph format, and can be displayed or printed using the \fBdotty\fR(1) graph editor from the \fBGraphviz\fR project.\& .PP .SH ARGUMENTS \fIPACKAGE_FILE\fR .RS 4 Either an \fBrpm\fR package or an \fBrpm-manifest\fR(5) file.\& .PP .RE .SH OPTIONS See \fBrpm-common\fR(8) for the options common to all rpm commands.\& .PP .SH EXIT STATUS On success, 0 is returned, a nonzero failure code otherwise.\& .PP .SH SEE ALSO \fBdot\fR(1), \fBdotty\fR(1) .PP \fBhttp://www.\&graphviz.\&org/\fR