Skip to content
Jason Charney edited this page Jan 30, 2015 · 4 revisions

OCAML or Objective CAML is the main implementation of the CAML (Categorical Abstract Machine Language) Programming language. It more related to Lisp than Perl. OCAML was created by Xavier Leroy.

For our usage, OCAML is required for us to use Haxe which has a version for ARM intended for Raspberry Pi but more than likely will work for ODroid.

Installing OCAML

Much like how installed Ruby using RVM, to install OCAML we need to use OCAMLBrew. And much like gem is used to manage Ruby packages, OPAM does the same with OCAML packages.

OCAMLBrew will "bootstrap" a new OCAML environment with OPAM from source without a preinstallation of OCAML or OPAM. (Hopefully this means it will install OCAML and OPAM.) Assuming you have curl and m4 installed (which you probably have), you can get going by typing

curl -kL https://raw.github.com/hcarty/ocamlbrew/master/ocamlbrew-install | env OCAMLBREW_FLAGS="-r" bash

See Also

External Links

Clone this wiki locally