pacgraph
visualizes the dependency relationships between installed packages
TLDR
Produce an SVG and PNG graph
SYNOPSIS
pacgraph [options]
DESCRIPTION
pacgraph visualizes the dependency relationships between installed packages on Arch-based systems. It generates a graph showing packages as nodes sized by their disk usage, with lines connecting packages to their dependencies.
The output can be an SVG image, PNG image, or console text summary. The tool helps users understand their system's package structure, identify large packages, and visualize dependency chains. Colors distinguish between explicitly installed packages and dependencies.
PARAMETERS
-s, --svg
Produce SVG output only (no PNG)-c, --console
Print summary to console instead of generating graph-f, --file path
Output filename (without extension)-t, --top color
Color for explicitly installed packages-d, --dep color
Color for dependency packages-b, --background color
Background color of the graph-l, --link color
Color for dependency links-p, --point size
Font point size-n, --no-compression
Disable SVGZ compression-e, --explicits
Include only explicitly installed packages-o, --optdeps
Include optional dependencies
CAVEATS
Large systems with many packages produce complex graphs that may be difficult to read. PNG generation requires additional dependencies (typically graphviz or PIL). Do not include file extension in the -f option.
HISTORY
Developed for Arch Linux to provide visual insight into package relationships. Helps users understand disk usage distribution across packages and identify opportunities for cleanup by showing which packages have few dependents.
