drawgram: 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/drawgram - from package: phylip
/usr/lib/phylip/bin/drawgram - from package: phylip

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