How to install Graphviz on Mountain Lion

Graphviz is open source graph visualization software. Graph visualization is a way of representing structural information as diagrams of abstract graphs and networks. It has important applications in networking, bioinformatics, software engineering, database and web design, machine learning, and in visual interfaces for other technical domains.

However there are some issues between Mountain Lion and X11, Graphviz 2.28 can’t run properly on Mountain Lion. Here is how I make it work.

* Install Homebrew by using this command in Terminal

$ brew install wget

* Then brew Libtool by typing this code in Terminal

$ brew install libtool

* Finally, install Graphviz at http://www.graphviz.org/Download_macos.php (I am using version 2.29 dev snapshot)

* Done now you should be able to run Graphviz on Mountain Lion

  • Pingback: PlantUML « Yet another software guy's blog()

  • Guillaume

    I think one must have the Xcode before doing anything of that.

  • Andrew

    a simple copy+paste of the test you’ve listed, into Terminal returns “command not found”… not sure what the deal is.