nepomuk-rcgen: 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/nepomuk-rcgen - from package: kdelibs

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/bin/nepomuk-rcgen - from package: kdelibs-bin

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