From owner-freebsd-questions@FreeBSD.ORG Sun Aug 28 20:28:16 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C6F0016A420 for ; Sun, 28 Aug 2005 20:28:16 +0000 (GMT) (envelope-from e.schuele@computer.org) Received: from rwcrmhc12.comcast.net (rwcrmhc12.comcast.net [204.127.198.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7546043D49 for ; Sun, 28 Aug 2005 20:28:16 +0000 (GMT) (envelope-from e.schuele@computer.org) Received: from [192.168.214.218] (c-24-1-232-64.hsd1.tx.comcast.net[24.1.232.64]) by comcast.net (rwcrmhc12) with ESMTP id <2005082820281501400ki8h9e>; Sun, 28 Aug 2005 20:28:15 +0000 Message-ID: <43121E5F.6000808@computer.org> Date: Sun, 28 Aug 2005 15:28:15 -0500 From: Eric Schuele User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050721) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Robert G." References: <431093CF.6050507@adelphia.net> In-Reply-To: <431093CF.6050507@adelphia.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: How to find out which ports/dependencies were installed when installing a port? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Aug 2005 20:28:16 -0000 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/ # 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