tg_index: 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/lib/staden/bin/tg_index - from package: staden

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