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

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

On Debian possible default full paths are:

/usr/bin/ocaml - from package: ocaml-interp
/var/lib/wims/public_html/bin/ocaml - from package: wims

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