I would like to extract "Install System Prerequisites" via the API from Posit Package Manager, e.g.
# rriskDistributions requirements:
dnf install -y tcl
dnf install -y tk
dnf install -y tk-devel
# gbp requirements:
dnf install -y make
...
I can see how to do this one package at a time, but is there a nice way to grab everything at once?