patname: 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/patname - from package: dist

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