[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: dependencies checking



On Wed, Sep 01, 2004 at 03:45:09PM +0500, Umar Draz wrote:
> hi dear members?? i am a freebsd when i want any package regarding
> freebsd?i just open www.freebsd.org/ports there is search my desire
> package when i find my package there is also dependices listed thats why
> i have no problem for instaling any package.?? So my question is how i
> can check openbsd package dependences like yester day i donwload mrtg.x
> for openbsd from openbsd ftp site when i try to install mrtg i face
> dependency then again i open ftp of openbsd and download p5-SNM and
> p5-Simple.?so plz help me how i can check openbsd package dependencies??thanks
> and regards?umar draz

pkg_info -f mrtg*.tgz | grep depend

That doesn't show depends on my 3.4 system but this does the same:

gtar xzfO package.tgz +CONTENTS | grep depend

Much easier to give the URL to the package to pkg_add and let it deal with
dependencies