Graphviz can be obtained via apt:
$ sudo apt-get -y install graphviz
After the installation is complete, note that verification is performed by using the dot command:
$ dot -Vdot - graphviz version 2.38.0 (20140413.2041)~
We will use the Python wrapper for Graphviz, so let's install it now while we are at it:
$ sudo pip install graphviz #Python 2$ sudo pip3 install graphviz$ python3Python 3.5.2 (default, Nov 23 2017, 16:37:01)[GCC 5.4.0 20160609] on linuxType "help", "copyright", "credits" or "license" for more information.>>> import graphviz>>> graphviz.__version__'0.8.4'>>> exit()
Let's take a look at how we can use the software.