Getting Started with OCaml on Red Hat and Fedora

Since Fedora 8, Fedora has excellent support for OCaml in the basic distribution. There is an active group of maintainers, we keep up to date with the latest OCaml, and there is a wide range of packages available.

Get started

To install the OCaml compiler just do:

yum install ocaml

To install an OCaml library called 'foo', and any dependencies it needs, you would do:

yum install ocaml-foo-devel

A good set of basic development libraries can be installed by doing:

yum install ocaml-camlp4-devel ocaml-ocamldoc ocaml-findlib-devel \
    ocaml-extlib-devel ocaml-calendar-devel

To list all OCaml packages use:

yum search ocaml

To find out about a particular package use (for example):

yum info ocaml-pxp

Packaging policy and mailing lists

OCaml packaging policy in Fedora. All Fedora OCaml packages have to obey this policy, ensuring a minimum standard for all OCaml packages we ship.

OCaml Special Interest Group.

fedora-ocaml-list mailing list for people interested in OCaml on Fedora or Red Hat Enterprise Linux.

Requesting new packages

If there is a particular package you would like to see added to Fedora, please email Richard Jones.

Fedora 10 (Rawhide)

Fedora 10 (Rawhide) will be based on OCaml 3.10.2.

Currently there are over 100 binary packages available, representing around 50 different OCaml libraries and projects. Almost all popular OCaml projects are included.

Here is a complete list of Fedora source RPMs which you can use to find out if your OCaml library is in Fedora.

Fedora 9

Fedora 9 is based on OCaml 3.10.1.

This release includes about 100 binary packages built from over 40 source packages, covering almost every popular OCaml package.

Fedora 8

Fedora 8 is based on OCaml 3.10.0.

Currently around 37 binary packages are available.

Here is the complete list of Fedora 8 source RPMs.

Red Hat Enterprise Linux 5

Red Hat Enterprise Linux is what you need if you want 7 years of enterprise support for your deployed OCaml applications. Please contact Richard Jones for more information about Red Hat support.