patsopt: 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/patsopt - from package: ats2-lang
/usr/lib/ats2-postiats-0.1.3/bin/patsopt - from package: ats2-lang

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