Package dependency tree

I am not sure if this is the right forum but …

Is there a way to generate a complete dependency tree for any given package?
By a dependency tree I mean an inverted tree like structure with the given package at root and its dependencies branching out from it (the branching may spread out to several levels). The last level (leaf) packages in the tree will be those which do not depend on any other packages.

I tried that using zypper but could not achieve what I want. I am running openSUSE 11.0 vanilla version installed from DVD with no further updates. Any ideas? Or is this not possible, yet?

I think it’s not possible. It simply isn’t a tree. Even if you could make some kind of tree, you would get leaves from the top demanding a direct connection to leaves at the bottom of the tree. From the leaves to the stem branches would not get together, they would spread.
But if you have spare time and find a way to visualize dependencies, without gigantic resource comsumption…with openSUSE you have all the tools to start your project.

On Wed, 03 Jun 2009 19:06:01 GMT, Knurpht
<Knurpht@no-mx.forums.opensuse.org> wrote:

>
>I think it’s not possible. It simply isn’t a tree. Even if you could
>make some kind of tree, you would get leaves from the top demanding a
>direct connection to leaves at the bottom of the tree. From the leaves
>to the stem branches would not get together, they would spread.
>But if you have spare time and find a way to visualize dependencies,
>without gigantic resource comsumption…with openSUSE you have all
>the tools to start your project.

The package management code for sure does this. Now the question is
how to walk the tree and find an unambiguous visual representation.
You will probably need simulated 3 or 4 dimensions. Perhaps something
like a SVN tree?