eric4-trpreviewer: 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/eric4-trpreviewer - from package: eric

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