eric4-unittest: 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

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

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