Graphviz - Graph Visualization Software


Source Packages

For most cases where you want or need to build from source, you should grab one of the source packages linked below. They contain all of required generated files. You just need to run configure to tailor the build to your machine and its libraries. The typical installation process is:

	make install

The configure script has many options for further tailoring the build process. Run

	./configure --help

to see these.

graphviz current stable release development snapshot
Sources graphviz-2.40.1.tar.gz
webdot current stable release development snapshot
Sources webdot-2.30.tar.gz

Master GIT Repos

If you wish to build from the master repos for graphviz and webdot, these can be found at:

You can either download the zip file or clone the repository. Instructions for the latter can be found here.

If you are taking this approach, then you must have recent versions of “libtool”, “automake”, and “autoconf”. The build process is basically the same as above with the addition of one more step:

	make install



Consider these versions as the minimum suitable for Graphviz, but please always use the latest available version of these packages. If there is any problem with building Graphviz against a latest version, please generate a bug report as we would very much like to know about it.

HINT: If you are using an rpm-based system, by far the easiest way to determine all the build dependencies is to download the graphviz-xxx.src.rpm, run: rpmbuild --rebuild graphviz-xxx.src.rpm 2>t , then edit t into a yum install command.

cairo-1.1.10.tar.gz [optional (required for libpangocairo), recommended]
expat-2.0.0.tar.gz [optional (required for HTML-like labels), recommended]
freetype-2.1.10.tar.gz [optional (required for libpangocairo and for gd), recommended]
gd-2.0.34.tar.gz [optional, deprecated but needed for GIF output]
fontconfig-2.3.95.tar.gz [optional (required for libpangocairo and for gd), recommended]
urw-fonts.tar.gz [optional, required if fontconfig is unable to find any fonts]
glib-2.11.1.tar.gz [optional (required for libpangocairo), recommended]
libpng-1.2.10.tar.gz [optional (required for cairo, optional for gd), recommended]
pango-1.12.4.tar.gz provides libpangocairo [optional, recommended]
zlib-1.2.3.tar.gz [optional (required for libpng), recommended]
GTS [optional (required for sfdp, prism, smyrna), recommended]
GTK+ [optional (required for smyrna)]
GtkGLExt [optional (required for smyrna)]
Glade [optional (required for smyrna)]
Glut [optional (required for smyrna)]


autoconf-2.59.tar.gz [if building from git]
automake-1.9.6.tar.gz [if building from git]
bison-2.3.tar.gz [if building from git]
flex-2.5.4a.tar.gz [if building from git]
libtool-1.5.22.tar.gz [if building from git]