yum install graphviz.i386
there is no support for PNG or JPG output:
# dot -Tfoo
Format: "foo" not recognized. Use one of: canon cmap cmapx cmapx_np dia dot eps fig hpgl imap imap_np ismap mif mp pcl pic plain plain-ext ps ps2 svg svgz tk vml vmlz vtx xdot
However, if I compile it from source there is PNG and JPG support available.
Unfortunately, with the self-compiled version, I keep getting "Error: Could not find/open font".
Comments:
[ellson] entos-4 doesn't have pango/cairo support, so you need graphviz-gd to be able to use -Tpng. The PNGs generated by libgd are not anti-aliased.
In the development snapshot rpms I have added a Requires: graphviz-gd to the graphviz rpm for centos-4 and earlier so that this will happen automagically.
Owner: ellson
Status: Fixed (17 Dec 2008)