depdiagram-prepare: 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/depdiagram-prepare - from package: kapidox

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