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

Eric Schuele e.schuele at computer.org
Sun Aug 28 20:28:16 GMT 2005


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.
> 
> Thanks.
> 
In addition to that which others posted in response....

You could try
   # cd /usr/ports/<port-of-choice>
   # make pretty-print-run-depends-list
       - or -
   # make pretty-print-build-depends-list

You can do these *before* you install a port to see what the impact will 
be.  Or at any date afterwards to see what is/was required by the port.

-- 
Regards,
Eric


More information about the freebsd-questions mailing list