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

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

On Debian possible default full paths are:

/usr/bin/ocamldep.opt - from package: ocaml-native-compilers

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