Installation

To install Vitess, you need to download the released package from the repo to your local environment.

Then just  run the executable ‘Vitess’.
For Mac only, the packaged includes a dedicated executable called ‘Vitess-MacOS’.

The Vitess-GUI needs Tcl/TK and LibGD, so please check the latest requirements for your OS.

If installed, Gnuplot will be used for visualization. It is possible to select python plotting if python is available, with matplotlib and numpy installed.

Building Vitess – developers note
(Only required if you’re changing the code base)

To build Vitess on various operating systems you need to install the following packages:

Windows: Visual Studio 2017

Mac OS: Xcode Command Line Tools, XQuartz and LibGD.
In some versions of Mac, compiling Vitess prompts errors due to conflicts with the LibGD libraries.
This can be resolved compiling with command ‘make install NOG2=1’, as the Makefile enables this option.

Ubuntu: apt-get install make gcc ‘g++’ libxpm-dev libpng-dev libgd-dev zlib1g-dev

CentOS: dnf install make gcc ‘gcc-c++’ libXpm-devel libpng-devel gd-devel zlib-devel