Slashdot Mirror


RPM Dependency Graph

Lomby writes "Following the spirit of the kernel schematics poster, I wrote a script that generates a diagram that depicts the rpm packages installed in your system, along with their dependencies. You can find more details and a download link at freshmeat."

7 of 192 comments (clear)

  1. Re:Lines and Dots by Anonymous Coward · · Score: 1, Informative
    Yeah, yeah, feeding the troll and all...

    Check out the postscript file and zoom in. You'll see the labelled dots and the direction of arrows indicating dependence on or dependency.

  2. Re:Lines and Dots by SamBeckett · · Score: 4, Informative

    They are all labeled, you numb nuts. Zoom in.

  3. Re:Modified to support .debs? by tconnors · · Score: 5, Informative

    man apt-cache

    cd /var/cache/apt/archives
    apt-cache dotty *

    google "i'm feeling lucky" on graphviz, and voila!

    I have a feeling someone is working on packaging graphviz, but there was problems with true-type fonts....

  4. Re:When will we get a proper packaging system? by Anonymous Coward · · Score: 1, Informative

    Or in 5 seconds, using checkinstall:

    http://freshmeat.net/projects/checkinstall

  5. Re:Modified to support .debs? by jsse · · Score: 4, Informative

    The above is non-graphical and apt-cache dotty * would return errors in some case. I made a little modification to make a full graph out of it:

    apt-get install graphviz
    apt-cache dotty `dpkg --get-selections | grep -v deinstall | cut -f 1` | dotty -

    WARNING: it would take a lot of time. You may try `apt-cache dotty ssh | dotty -` just to see a simpler graph.

  6. Re:When will we get a proper packaging system? by hysterion · · Score: 4, Informative
    Secondly, no elegant way to integrate software that hasn't committed to one of the packaging systems into an architecture. Both RedHat and Debian both work great when you stick to rpms and debs, but just try installing the latest version of a piece of software that doesn't have an rpm or deb yet, and you run into a world of pain.
    Checkinstall makes this easy as pie.
    $ ./configure
    $ make
    # checkinstall (*)
    • builds your choice of a .deb or .rpm or Slackware package,
    • installs it,
    • saves it in (e.g.) /usr/src/packages/RPMS/<arch>,
    • saves a .tgz of the sources in (e.g.) /usr/src/packages/SOURCES/.
    It has served me quite well -- except the version I'm using (1.5.1) makes empty .tgzs. Not a big deal, and hopefully fixed by now.

    (*) or else 'checkinstall your-install-script'

  7. Checking which packages you never use by Walles · · Score: 5, Informative
    Shameless plug:

    I have written a small tcl script (called pkgusage) that lists all your installed packages (RPMs or DEBs) together with the number of days ago you last accessed any of the files in each package. Thus, if you do "pkgusage.tcl | sort -n", packages which you seldom / never use will be at the end of the list.

    It also checks dependencies between packages, so it won't tell you to uninstall a package that something else depends on.

    If you are interested, get it here.

    --
    Installed the Bubblemon yet?