On Linux, if installing from the .rpm file for Red Hat or the .deb file for Ubuntu, package dependencies install the Xft fonts and Cairo graphics libraries required by HammerDB. If installing from the .tar.gz files these dependencies must be resolved manually.
The HammerDB GUI requires the Xft FreeType-based font drawing library for X installed as follows:
Ubuntu:
$ sudo apt-get install libxft-dev
Red Hat:
$ yum install libXft
On Linux the HammerDB GUI also requires Cairo Graphics installed to support the graphical transaction counter and can be installed as follows:
Ubuntu:
$ sudo apt-get install libcairo2-dev
Red Hat:
$ yum install cairo-devel