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

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