patextract: 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/patextract - from package: xautomation

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