xpaint_ocr: 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 CentOS possible default full paths are:

/usr/share/xpaint/bin/xpaint_ocr - from package: xpaint

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/share/xpaint/bin/xpaint_ocr - from package: xpaint

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