pat2dat: 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/pat2dat - from package: liballegro4-dev

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