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

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