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

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