This is the multi-page printable view of this section. Click here to print.

Return to the regular view of this page.


Source Code

Source code packages for the latest stable and development versions of Graphviz are available, along with instructions for anonymous access to the sources using Git.

Executable Packages

Packages marked with an asterisk(*) are provided by outside parties. We list them for convenience, but disclaim responsibility for the contents of these packages.


Precompiled binaries are available attached to releases on Gitlab, You may also find it useful to try one of the following third-party sites.


Mostly correct notes for building Graphviz on Windows can be found here.


We need help with macOS, if you would like to volunteer.

We would appreciate if someone donates a script to run pkgbuild or productbuild to automatically generate macOS installers. Packaging for Apple Administrators could be a good reference. Note graphviz needs postinstall actions, at least dot -c; also fc-cache if Graphviz has freetype/cairopango drivers.


For Solaris, please use the graphviz stable releases here. These are maintained by Laurent Blume / John Ellson. Currently available packages are:

graphviz Graph Visualization Tools
graphviz_dev Graphviz headers etc. for development
graphvizdoc Graphviz documentation
graphvizgdGraphviz renderers using gd
graphvizgraphsGraphviz example graphs
graphvizguileGraphviz language binding for guile
graphvizperlGraphviz language binding for perl
graphvizpythonGraphviz language binding for python
graphvizrubyGraphviz language binding for ruby
graphvizsharpGraphviz language binding for C#
graphviztclGraphviz language binding for tcl

Minimally, graphviz and graphvizgd should be installed.

Other Unix

1 - 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]