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

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