This release is availabe as multiple OPAM switches:
- 4.04.0 — Official 4.04.0 release
- 4.04.0+flambda — Official 4.04.0 release with flambda enabled
- 4.04.0+fp — Official 4.04.0 release with frame pointers
- 4.04.0+fp+flambda — Official 4.04.0 release with frame pointers and flambda enabled
- 4.04.0+safe-string - Official 4.04.0 release with
Source tarball (.tar.gz) for compilation under Unix (including Linux and MacOS X) and Microsoft Windows (including Cygwin).
Also available in .tar.xz format.
OPAM is a source-based distribution of OCaml and many companion libraries and tools. Compilation and installation are automated by powerful package managers.
The official development repo is hosted on GitHub.
The INSTALL file of the distribution provides detailed compilation and installation instructions.
Binary distributions for Linux
Binary distributions for CentOS, Debian, Fedora, RHEL, Ubuntu are available here.
Binary distribution for Microsoft Windows
Cygwin-based native Win32 port. 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.
Additionally, the following projects allow you to compile OCaml code to targets traditionally associated with other languages:
OCaml-java is a stable OCaml to Java compiler.
The user's manual for OCaml can be:
downloaded as a single tarball of Emacs info files,
All the files are also available in this directory, along with their MD5 checksums.