pat2spi: 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/pat2spi - from package: alliance

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