On Sat, Jan 25, 2003 at 10:20:57AM -0600, Andy Akins wrote:
> There are some ports installed on my machine (like Apache, and PHP) that
> I did not install. I'm assuming that they were put in place due to
> another port that had them as a dependency. Aside from looking on the
> FreeBSD website or within the individual makefiles, is there a command
> or commands that would display the packages/ports that require another
> port? Since I'm not running a server, _I_ certainly don't need Apache or
> PHP...so I'd like to know why they were installed so I can decide if I
> can delete them and their dependent ports.
pkg_info will tell you what you want to know about any currently
installed port. eg:
pkg_info -R www/apache\*
Show all the ports that depend on some version of apache.
pkg_info -r www/mod_php4-4.2.3
Show all of the ports that mod_php4 depends on.
Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614 Bucks., SL7 1TH UK
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message