prima-gencls: 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 Debian possible default full paths are:

/usr/bin/prima-gencls - from package: libprima-perl

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