RPMGRAPH(1)

πŸ’… RPMGRAPH(1) β€” like, the rpmgraph manual page, bestie

okay so real talk: this is the General Commands Manual section 1 page for rpmgraph, and it is genuinely one of the cutest little tools in the whole rpm family, no cap. let's get into it πŸ¦‹


✨ NAME ✨

rpmgraph β€” Generate an RPM Package Dependency Graph πŸ’–


🌸 SYNOPSIS 🌸

rpmgraph [options] PACKAGE_FILE ...

πŸ‘‘ DESCRIPTION πŸ‘‘

okay so here's the vibe: rpmgraph reads the rpm packages you pass as arguments, sorts them as for installation with rpm(8), and then produces a dependency graph on the standard output. iconic behaviour honestly.

The nodes in that dependency graph are package names, and the edges in the directed graph point to the parent of each node. and what's a parent, you ask? bestie, the parent node is defined as the last predecessor of a package when partially ordered using the package dependencies as a relation. periodt. which basically means: the parent of a given package is that package's last prerequisite. πŸ’…

The output is in dot(1) directed graph format, and you can display or print it using the dotty(1) graph editor from the Graphviz project. it's giving graph theory main character energy fr fr.


πŸŽ€ ARGUMENTS πŸŽ€

  • PACKAGE_FILE β€” either an rpm package or an rpm-manifest(5) file. that's it, that's the whole argument. so versatile of it 🫢

⭐ OPTIONS ⭐

ngl the options live somewhere else, bestie. rpmgraph is out here sharing its whole option closet with the rest of the rpm commands. iykyk.

πŸ’€ EXIT STATUS πŸ’€

On success, 0 is returned. otherwise you get a nonzero failure code. so if you're scripting, vibe check that exit status, okay? 😭


🌈 SEE ALSO 🌈


πŸ¦‹ a lil sign-off πŸ¦‹

this page is from RPM 6.1.0, dated 2026-08-20, and it's RPMGRAPH(1) in the General Commands Manual. slay, go draw some graphs, ily πŸ’œβœ¨πŸŽ€

πŸ“¦ where this page comes from