Tag Archives: GraphViz

Map of CentOS 5.5 x86_64 Minimal Install

I worked out a bash script today to generate a GraphViz dot file for visualizing CentOS/RHEL/Fedora yum dependencies.  (See below.. script is after the break) -joshua

Here is my barebones install of CentOS 5.5 x86_64 on a Fedora14-based VirtualBox.

Here is what the output of my script looks like.

[root@server gdeps]# ./gdeps.bash openssh openssl glibc bash | tee test.dot
 digraph centos5 {
 size="64,64";
 node [color=lightblue2, style=filled];
 "audit-libs" -> "openssh";
 "e2fsprogs-libs" -> "openssh";
 "fipscheck-lib" -> "openssh";
 "glibc" -> "openssh";
 "initscripts" -> "openssh";
 "krb5-libs" -> "openssh";
 "libselinux" -> "openssh";
 "nspr" -> "openssh";
 "nss" -> "openssh";
 "openssl" -> "openssh";
 "util-linux" -> "openssh";
 "zlib" -> "openssh";
 "bash" -> "openssl";
 "e2fsprogs-libs" -> "openssl";
 "glibc" -> "openssl";
 "krb5-libs" -> "openssl";
 "mktemp" -> "openssl";
 "zlib" -> "openssl";
 "basesystem" -> "glibc";
 "glibc-common" -> "glibc";
 "libgcc" -> "glibc";
 "glibc" -> "bash";
 "libtermcap" -> "bash";
 "mktemp" -> "bash";
 }

 [root@server gdeps]# dot -Tpng test.dot > test.png

^ creates a graph based on the text data

(script after break)

Continue reading

Advertisements
Tagged , , , , , , , ,
%d bloggers like this: