Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at ocaml.org.

Latest OCaml release

The most recent version of OCaml is 4.04.2. It was released on 2017-06-24.

What's new?

Some of the highlights in release 4.04 are:

For more information, please consult the comprehensive list of changes.

Distribution

Source distribution

  • Source tarball (.tar.gz) for compilation under Unix (including Linux and MacOS X) and Microsoft Windows (including Cygwin).
  • Also available in .tar.xz format.
  • GODI and OPAM are source-based distributions of OCaml and many companion libraries and tools. Compilation and installation are automated by powerful package managers.

The INSTALL file of the distribution provides detailed compilation and installation instruction.

Precompiled binaries for Linux

Precompiled binaries for MacOS X

We do not distribute binaries for MacOS any more. Mac OS is fully supported by the OPAM package manager.

Precompiled binaries for Microsoft Windows

These binaries are no longer available. You can compile from sources following the Windows release notes, or use the experimental OPAM on Windows system.

User's manual

The user's manual for OCaml can be:

License

Ocaml is Free Software, copyright INRIA, licensed under the LGPL version 2.1 (with a special exception on static linking). See the full licence. Members of the Caml Consortium benefit from a more liberal license (BSD-like).

Other versions

Many previous releases are still available.

You also have read-only Git access to the working sources and to all previous public releases. See: ocaml/ocaml on Github