On Tue, 26 Aug 2025, Diogo wrote:

is there a way to find all dependencies of a package without installing it?

I am looking for that information in a cross-platform way. For example, I have
a Linux amd64 (HOST) and would like to know all dependencies of, say, cmake
on NetBSD 10.0 arm64 (TARGET).

Have a look at the pkg_summary(5) manual.

Then look at the existing databases, like

https://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/aarch64/10.0_2025Q2/All/pkg_summary.bz2

Reply via email to