Skip to content

Instantly share code, notes, and snippets.

@loftywaif002
Created April 23, 2017 19:15
Show Gist options
  • Save loftywaif002/ec8341dcc44c38e6bb21bf23c492172e to your computer and use it in GitHub Desktop.
Save loftywaif002/ec8341dcc44c38e6bb21bf23c492172e to your computer and use it in GitHub Desktop.
Installing the Graphviz in macOS
#Download the source tar file from here
https://www.macports.org/install.php#installing
file name would be [MacPorts-2.4.1.tar.bz2]
“cd” into the directory where you downloaded the package and run “tar xjvf MacPorts-2.4.1.tar.bz2”
Build and install the recently unpacked sources:
cd MacPorts-2.4.1
./configure && make && sudo make install
In the process it will ask you for root pass word
after installing
export the installation directory to the path using the following command in terminal
export PATH=/opt/local/bin:/opt/local/sbin:$PATH
Then From http://www.graphviz.org/Download_macos.php
Follwo the isntruction for the installation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment