Source Code

Source Packages

For most cases where you want or need to build from source, you should download one of the source packages linked below. They contain all of required generated files. The typical installation process is:

make install

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

./configure --help

to see these.


Stable Releases

Development Snapshots


Stable Releases

Development Snapshots

Git Repos

If you wish to build from the tip-of-tree source repositories 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", "libltdl-dev", "automake", "autoconf", and "pkg-config"/"pkgconf". 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 a system that is covered by Graphviz’ continuous integration testing by far the easiest way to determine all the build dependencies is to browse the ci/ directory of the Graphviz Git repository.

cairo-1.10.0.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.36.0.tar.xz [optional (required for libpangocairo), recommended]
libpng-1.2.10.tar.gz [optional (required for cairo, optional for gd), recommended]
pango-1.22.0.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.61.tar.gz [if building from git]
automake-1.9.6.tar.gz [if building from git]
bison-3.0.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]