Training/OCaml

Mastering Opam

Package management, custom repositories, and CI integration

2 days
Duration
On-site or remote
Delivery
50%
Hands-on
Overview

About this course

Description

A 2-day intensive program diving into opam, OCaml's package manager. Participants explore advanced options, dependency resolution, and learn to create custom packages and repositories.

Who is this for?

You manage OCaml projects and need advanced control over dependency management, private repositories, and CI/CD integration with opam.

OCaml developersDevOps engineers working with OCaml projects
Outcomes

What you will learn

01

Master package management and dependency handling

02

Create custom packages and repositories

03

Integrate opam into development workflows

Syllabus

Program outline

01

Repository Interaction

  • Repository structure and opam interaction
  • Dependency resolution mechanics
02

Dependency Management

  • Direct and optional dependencies
  • Variables and solver specifications
03

Package Creation

  • Creating and publishing packages manually
  • Automated tools: opam-publish, dune-release
04

Custom Repositories & CI

  • Setting up private repositories
  • Lock files and repository subsetting
  • Binary repositories and style verification
Practicalities

Before you enroll

Prerequisites

  • Intermediate OCaml programming knowledge

Format

  • On-site or remote
  • 3–10 participants
  • 50% hands-on exercises
  • Schedule: 9:30 - 17:30

Funding

  • Qualiopi certified
  • OPCO funding eligible
  • Sessions on demand within 2 months
  • Accessibility accommodations available
Instructors

Your trainers

Raja Boujbel

Primary opam maintainer at OCamlPro with a doctoral degree.

Louis Gesbert

Primary opam maintainer with extensive open-source contributions.

Enroll

Interested in this training?