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

Return to the regular view of this page.

Download

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.

Linux

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

Windows

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

Mac

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.

Solaris

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:

./configure
make
make install

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

./configure --help

to see these.

Graphviz

Stable Releases

Development Snapshots

Webdot

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:

./autogen.sh
./configure
make
make install

Requirements

Dependencies

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]
http://cairographics.org/
expat-2.0.0.tar.gz [optional (required for HTML-like labels), recommended]
http://expat.sourceforge.net/
freetype-2.1.10.tar.gz [optional (required for libpangocairo and for gd), recommended]
http://www.freetype.org/
gd-2.0.34.tar.gz [optional, deprecated but needed for GIF output]
http://www.boutell.com/gd/
fontconfig-2.3.95.tar.gz [optional (required for libpangocairo and for gd), recommended]
http://www.fontconfig.org/wiki/
urw-fonts.tar.gz [optional, required if fontconfig is unable to find any fonts]
ftp://ftp.gimp.org/pub/gimp/fonts
glib-2.36.0.tar.xz [optional (required for libpangocairo), recommended]
https://wiki.gnome.org/Projects/GLib
libpng-1.2.10.tar.gz [optional (required for cairo, optional for gd), recommended]
http://www.libpng.org/pub/png/
pango-1.22.0.tar.gz provides libpangocairo [optional, recommended]
http://www.pango.org/
zlib-1.2.3.tar.gz [optional (required for libpng), recommended]
http://www.zlib.net/
GTS [optional (required for sfdp, prism, smyrna), recommended]
http://gts.sourceforge.net/
GTK+ [optional (required for smyrna)]
http://www.gtk.org/
GtkGLExt [optional (required for smyrna)]
http://projects.gnome.org/gtkglext/
Glade [optional (required for smyrna)]
http://glade.gnome.org/
Glut [optional (required for smyrna)]
http://www.opengl.org/resources/libraries/glut/

Tools

autoconf-2.61.tar.gz [if building from git]
http://ftp.gnu.org/gnu/autoconf/
automake-1.9.6.tar.gz [if building from git]
http://ftp.gnu.org/gnu/automake/
bison-3.0.tar.gz [if building from git]
http://ftp.gnu.org/gnu/bison/
flex-2.5.4a.tar.gz [if building from git]
http://ftp.gnu.org/non-gnu/flex/
gcc-4.8.1.tar.bz2
http://ftp.gnu.org/gnu/gcc/
gcc-g++-4.8.1.tar.bz2
http://ftp.gnu.org/gnu/gcc/
ghostscript-8.54-gpl.tar.gz
http://pages.cs.wisc.edu/~ghost/
libtool-1.5.22.tar.gz [if building from git]
http://ftp.gnu.org/gnu/libtool/
pkg-config-0.20.tar.gz
http://www.freedesktop.org/wiki/Software/pkg-config/
swig-1.3.29.tar.gz
http://www.swig.org/