The easiest way to install is to use OPAM.
Install Opam, then, as a regular user, fetch and install an OCaml version and install
.
The whole can be done with the following opam commands:
$ opam init --comp=4.02.1
$ opam update
$ opam install
To build , you will need:
Get the sources from git repository:
$ git clone ...
Or pick one of the releases:
Just type
$ ./configure && make && make install
This will install ...