wtdist: 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/x86_64-linux-gnu/gap/pkg/guava/bin/leon/wtdist - from package: gap-guava-bin
/usr/lib/x86_64-linux-gnu/gap/pkg/guava/bin/wtdist - from package: gap-guava-bin

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