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

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

On Debian possible default full paths are:

/usr/bin/jpeginfo - from package: jpeginfo

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