gendist: 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/phylip/bin/gendist - from package: phylip

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