ftgamma: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On CentOS possible default full paths are:

/usr/bin/ftgamma - from package: freetype-demos

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/bin/ftgamma - from package: freetype2-demos

You may install the required package with command apt-get install {package}
Error in other languages:
ftgamma: bevel nie gevind nie
ftgamma: comandă negăsită
ftgamma: comando não encontrado
ftgamma: commande introuvable
ftgamma: command not found
ftgamma: käsku ei ole
ftgamma: không tìm thấy lệnh
ftgamma: komanda nerasta
ftgamma: Kommando nicht gefunden.
ftgamma: kommandot finns inte
ftgamma: komut yok
ftgamma: nie znaleziono polecenia
ftgamma: níor aimsíodh an t-ordú
ftgamma: no se encontró la orden
ftgamma: no s'ha trobat l'ordre
ftgamma: opdracht niet gevonden
ftgamma: parancs nem található
ftgamma: perintah tidak ditemukan
ftgamma: príkaz nenájdený
ftgamma: příkaz nenalezen
ftgamma: команда не найдена
ftgamma: командата не е открита
ftgamma: 命令找不到
ftgamma: コマンドが見つかりません