RSPM API: Install System Prerequisites

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?

The API has a GET endpoint /repos/{id}/sysreqsfor that. You can try it out at Posit Package Manager API documentation .

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.