How to find out which ports/dependencies were installed when installing a port?

John Oxley john at yoafrica.com
Sat Aug 27 16:37:50 GMT 2005


On Sat, Aug 27, 2005 at 12:24:47PM -0400, Robert G. wrote:
> Hi,
> 
> New here.  I'm running portuprade and wondering if it's possible to find 
> out which ports/dependencies were installed when installing a specific 
> application.  For example: I install "A" which needs "B" and "C" to run. 
>  So portupgrade installs "B" and "C" along with "A".  Later down the 
> road I deinstall "A" and decide I'd like to get rid of the 
> ports/dependencies that "A" needed installed with it.  How would I go 
> about finding "B" and "C" just by knowing "A"'s name?  There has to be 
> an easy answer, but I can't figure it out.

pkg_cutleaves and pkg_tree

-- 
John Oxley
Systems Administrator
Yo!Africa
E-Mail:  john at yoafrica.com
Tel:     +263 4 858404


More information about the freebsd-questions mailing list