Date: Sat, 25 Jan 2003 16:37:24 +0000 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: freebsd-questions@FreeBSD.ORG Subject: Re: Tracking dependencies... Message-ID: <20030125163724.GA19028@happy-idiot-talk.infracaninophi> In-Reply-To: <1043511656.272.15.camel@localhost> References: <1043511656.272.15.camel@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Cheers,
Matthew
--
Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks
Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614 Bucks., SL7 1TH UK
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030125163724.GA19028>
