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

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