tm: 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/tm - from package: libtm-perl

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