Fun with apk
...
Install the graphviz
package on your workstation (apt/dnf install graphviz
, Windows installers available here: https://graphviz.org/download/).
Pick a package, here I'm using nmap
, and run apk dot package
. Push the resulting .dot
file through Graphviz's dot converter, here I'm generating a png.
ssh router "apk dot nmap" | dot -Tpng -o nmap-dependencies.png
Results: