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

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