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

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

On Debian possible default full paths are:

/usr/bin/ocamldep - from package: ocaml-nox

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