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

2005-08-27 Thread Robert G.

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.

--
Robert G.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


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

2005-08-27 Thread Joseph Koshy
> 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.

You might want to look at /usr/ports/sysutils/pkg_cutleaves.

-- 
FreeBSD Volunteer, http://people.freebsd.org/~jkoshy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


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

2005-08-27 Thread John Oxley
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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


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

2005-08-28 Thread Simon Olofsson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

with # pkg_info -Rr "A" you can find out what "A" depends on and which
packages require "A".
HTH

on 08/27/2005 18:24 Robert G. said the following:
> 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.

- --
Mit freundlichem Gruß,
With best regards,

Simon Olofsson
http://www.olofsson-online.com

GPG-Key: 0x3D001BE0
http://simon.olofsson.de/sec/simon_olofsson.asc

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (FreeBSD)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDEc5+RM/k9z0AG+ARAvNvAKDshZB8mV2iskzDq1Q7B+rZDV/SlgCeMAlD
PmCXLqHKGjuIY93dYkcx1QQ=
=rd6C
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


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

2005-08-28 Thread Eric Schuele

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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"