Installation - crocs-muni/randomness-testing-toolkit GitHub Wiki
Prerequisites
In order to properly install RTT, you will need to satisfy following prerequisites. Following instructions and packages are for Debian 8.7 or higher. For other distributions, you will need to find packages intended for your system.
Packages
MySQL Connector/C++
For connecting to the MySQL database storage, RTT uses MySQL Connector/C++. You can install it like so.
sudo apt-get install libmysqlcppconn-dev
Batteries
Since RTT is interface for other statistical batteries, you will also need to install some of these batteries to use them. Full set of batteries for RTT with detailed installation instructions can be found here. For quick installation of the batteries and their dependencies, you can do following steps.
wget https://github.com/crocs-muni/rtt-statistical-batteries/archive/master.zip
unzip master.zip
cd rtt-statistical-batteries-master
sudo ./INSTALL
You can also install the batteries from their official distributions. This is not recommended because batteries in aforementioned repository contain small changes to be fully compatible with RTT. Modifications don't affect results in any way, mostly they are just optimizations and output format changes.
Building RTT
After completing prerequisites, you can build RTT. For this, you will need a compiler with C++14 support (gcc-4.9.2 or higher or equivalent). Installation can be completed with following steps.
wget https://github.com/crocs-muni/randomness-testing-toolkit/archive/master.zip
unzip master.zip
cd randomness-testing-toolkit-master
make
After the build, you can execute the following command and you should see a help message. If that is true, you can follow up to the next step, which is setting up the toolkit.
./randomness-testing-toolkit