Re: pkg_info -D to check dependencies In article <slrnbqcbal.6o4.dpham@websvr01.mercy.com.au>, Zoong Pham wrote:
> In article <Pine.GSO.4.44.0311030037430.13196-100000@elaine40.Stanford.EDU>, Ted Unangst wrote:
>> that's because -D isn't supposed to print dependencies. try pkg_info -v
>
> Thanks Ted, pkg_info -v package_name does list dependencies.
> Note that package_name doesn't contains ".tgz".
>
I just find out the above only works if I have a package and its
dependencies all installed.
Is there a way that I can find the dependencies of a package that
I am about to install?
Say I downloaded packaged abc-123.tgz. I want to know what are
other packages (def-456.tgz, xyz-789.tgz, etc ...) that are required
by abc-123.tgz. So I can download the all the dependencies.
I just want to download only packages I need for a package so I can do
run pkg_add locally.
And I don't think the OBSD website lists dependencies of a given package.
TIA,
--
Zoong PHAM UNIX Systems Administrator
Mercy Health and Aged Care Inc. Melbourne - Australia
zpham@mercy_dot_com_dot_au +61 - 3 - 84167747
PGP public key is available on request |