ftgrid: 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/ftgrid - from package: freetype-demos

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

On Debian possible default full paths are:

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

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