imginfo: 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/bin/imginfo - from package: jasper

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

On Debian possible default full paths are:

/usr/bin/imginfo - from package: libjasper-runtime

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