Version française
Home     About     Download     Resources     Contact us    

Latest OCaml release

The most recent version of OCaml is 4.02.0. It was released on 2014-08-29.

What's new?

Some of the highlights in release 4.02 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

Binary package compiled on Mac OS 10.7.5 with XCode tools 4.6.3 (probably not compatible with earlier versions of Mac OS X):

Precompiled binaries for Microsoft Windows

Four ports of OCaml for Microsoft Windows are currently available. For additional information, please consult the list of portability issues or the Windows release notes.

  • Cygwin-based native Win32 port (4.01.0). A self installer. The interactive loop comes with a simple graphical user interface. Some features require the Cygwin environment, which the installer can fetch for you. However, the compilers are, and generate true Win32 executables, which do not require Cygwin to run.
  • Microsoft-based native Win32 port. No binary distribution available yet; download the source distribution and compile it.
  • Cygwin-based port. Requires Cygwin. No graphical user interface is provided. The compilers generate executables that do require Cygwin. The precompiled binaries are part of the Cygwin distribution; you can install them using the Cygwin setup tool. Alternatively, download the source distribution and compile it under Cygwin.
  • Microsoft-based native Win64 port Same features as the Microsoft-based native Win32 port, but generates 64-bit code. No binary distribution available yet; download the source distribution and compile it.

Precompiled binaries for Solaris

Available at sunfreeware.com.

User's manual

The user's manual for OCaml can be:

License

Ocaml is Free Software, copyright INRIA, licensed under a combination of the QPL and the LGPLv2 (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 SVN access to the working sources and to all previous public releases. See: The Subversion repository for OCaml