AFAIK this is the way that I can install for ex.: XYZ on OpenBSD:
pkg_add -Uvi XYZ
How can I get a list for all the dependencies regarding XYZ package?
-> So I need a list about .tgz filenames that pkg_add will download/install/update when I need to install given XYZ package.
What is the command to generate a list for XYZ package?
Best Answer
Looks like dependencies are specified in the packing list. You can see the packing list with
pkg_info -f
.So, assuming
PKG_PATH
is already set:should give you the package names.
Prepending
$PKG_PATH
and appending.tgz
to each line should give you a URL that's probably what would be downloaded, e.g. to getbash
's dependencies:prints
See also
pkg_add -n
andPKG_CACHE
.References: