Results 1 to 3 of 3

Thread: Package dependency tree

  1. #1

    Default 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?
    Last edited by BanMido; 03-Jun-2009 at 07:30. Reason: Forgot to mention openSUSE version I am using

  2. #2
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,473
    Blog Entries
    14

    Default Re: Package dependency tree

    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.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  3. #3
    JosephKK NNTP User

    Default Re: Package dependency tree

    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?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •