GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
PKG_TREE(7) FreeBSD System Manager's Manual PKG_TREE(7)

pkg_tree - Generate a graphical tree of packages and their dependencies

pkg_tree [-bqrtv] [package-prefix ...]

This program generates a graphical tree of packages and their dependancies.

To show the dependencies of all packages, run it without arguments:

[~] edwin@k7>pkg_tree

To show the dependencies of one package, run it with an argument:

[~] edwin@k7>pkg_tree linux-netscape linux-netscape-navigator-4.79 |\__ netscape-remote-1.0_1 |\__ netscape-wrapper-2000.07.07 |\__ linux_base-6.1 |\__ imake-4.1.0 (unknown) |\__ freetype2-2.0.5 \__ XFree86-libraries-4.1.0 (unknown)

To also show the dependencies of the dependencies, use the -v parameter:

[~] edwin@k7>pkg_tree -v linux-netscape linux-netscape-navigator-4.79 |\__ netscape-remote-1.0_1 | |\__ imake-4.1.0 (unknown) | |\__ freetype2-2.0.3 (unknown) | \__ XFree86-libraries-4.1.0 (unknown) |\__ netscape-wrapper-2000.07.07 | |\__ freetype2-2.0.3 (unknown) | |\__ imake-4.1.0 (unknown) | |\__ netscape-remote-1.0_1 | | |\__ imake-4.1.0 (unknown) | | |\__ freetype2-2.0.3 (unknown) | | \__ XFree86-libraries-4.1.0 (unknown) | \__ XFree86-libraries-4.1.0 (unknown) |\__ linux_base-6.1 |\__ imake-4.1.0 (unknown) |\__ freetype2-2.0.5 \__ XFree86-libraries-4.1.0 (unknown)

Use the -t parameter to show only top level packages, and -b to show only bottom level packages. And -t -q together will give the list of top level packages without their dependencies, installing only these packages should install all currently installed packages.

Use the -r parameter to show requirements relation.

Always 0.

Ports which have upgraded ports in their dependencies don't show their dependencies anymore if the old port is deleted; it then prints "(unknown)".

Edwin Groothuis, edwin@mavetju.org (http://www.mavetju.org)

ports(7)
December 15, 2001 December 15, 2001

Search for    or go to Top of page |  Section 7 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.