Mastering OPAM Course

Duration: 2 days

The OPAM source package manager has reached an exceptional popularity in the OCaml world. It can now be seen as the easiest way to install OCaml and its development environment on any computer. But did you know that OPAM was also designed to integrate nicely in a professional could boost your development productivity too ?


  • Understand how OPAM interacts with repositories

  • Understand how OPAM manages package dependencies

  • Use expert-level OPAM options

  • Discover undocumented features of OPAM

  • Create your own public packages

  • Create your private repository

  • Include OPAM in your company development process

Course Prerequisites

The course assumes the knowledge of another programming language, so that basic programming paradigms are known. No prior knowledge of OCaml or functional programming s required.

Participants are expected to have a computer with Internet access during the course (Linux, Mac OS X or Windows), to be able to access the main OPAM repository. They should create a GitHub account prior to the course, and can upload an SSH key (it can be done during the course).


The course is half theory, half practice. Participants will have to call OPAM with many configuration parameters, they will create their own repositories and packages. Participants can come with their own (small) source packages as examples.


OCamlPro can organize this course on-site in your company, by groups of about 10 participants. Content can be customized to better fit your needs. Contact us at