tgd: 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 Debian possible default full paths are:

/usr/bin/tgd - from package: tcm

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