Introduction

opam-bin is a framework to build and use binary packages with opam.

With opam-bin, it is possible:

  • To create a binary package for every source package built by opam;

  • To re-use previously built binary packages instead of rebuilding the corresponding source packages;

  • To share these binary packages with other users, by exporting these packages as opam repositories;

Packages shared with opam-bin have to be relocatable, i.e. can be installed in any directory. A specific git repository of patches is provided, these patches are applied automatically by opam-bin on source packages at build time to make these packages relocatable.

The following resources are associated with opam-bin: