kapptemplate: 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/kapptemplate - from package: kdesdk

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

On Debian possible default full paths are:

/usr/bin/kapptemplate - from package: kapptemplate

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