talira

The source-based package manager for OCaml

open sourceLGPL-2.1-only WITH OCaml-LGPL-linking-exceptionfree

opam is the source-based package manager for OCaml. It installs and upgrades packages from the opam repository (over 4,700 packages), keeps several OCaml compiler versions installed side by side in separate switches, solves flexible version constraints, and supports a Git-friendly development workflow in which a project can be pinned straight from its repository. It began at OCamlPro in 2012, with funding from Jane Street, and is maintained by developers at OCamlPro, Jane Street and others.

Ways to install

Problems it solves

  • install OCaml libraries and their dependencies
  • keep several OCaml compiler versions on one machine for different projects
  • work on an OCaml package straight from its Git repository

Features

  • Installs, updates and upgrades OCaml packages from the opam repository
  • Several OCaml compilers installed side by side (switches)
  • Flexible package version constraints with a dependency solver
  • Pin a package to a Git repository or local directory
  • Works with external solvers such as aspcud

Alternatives

The same job

These do what opam does.

  1. Composer A Dependency Manager for PHP
  2. remotes Install R packages from GitHub, GitLab, Bitbucket, Bioconductor and git
  3. pip The package installer for Python
  4. vcpkg C/C++ dependency manager from Microsoft for all platforms, build systems and workflows
  5. Conda Package, dependency and environment manager for any language

Compare opam with the top 3