# Installer ocamlbuild avec Homebrew, apk, apt, pacman

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de ocamlbuild pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:ocamlbuild
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install ocamlbuild
```

  Preuve: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add ocamlbuild
```

  Preuve: Alpine Linux edge package indexes: ocamlbuild from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install ocamlbuild
```

  Preuve: Debian stable package indexes: ocamlbuild from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- pacman (92%):

```sh
sudo pacman -S ocamlbuild
```

  Preuve: Arch Linux sync databases: ocamlbuild from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## Faits du paquet

- **Clé du paquet:** brew:ocamlbuild
- **Gestionnaire de paquets:** Homebrew
- **Page du gestionnaire de paquets:** <https://formulae.brew.sh/formula/ocamlbuild>
- **Version:** 0.16.1
- **Résumé source:** Generic build tool for OCaml
- **Page d'accueil:** <https://github.com/ocaml/ocamlbuild>
- **Dépôt:** <https://github.com/ocaml/ocamlbuild>
- **Licence:** LGPL-2.0-only WITH OCaml-LGPL-linking-exception
- **Archive source:** <https://github.com/ocaml/ocamlbuild/archive/refs/tags/0.16.1.tar.gz>
- **Dernière mise à jour:** 2026-07-13T05:11:31Z
- **Généré:** 2026-08-04T22:13:35+00:00

## exécutables

- ocamlbuild (cli)
- ocamlbuild.byte (cli)
- ocamlbuild.native (cli)
- ocamlbuild (alias)
- ocamlbuild.byte (alias)
- ocamlbuild.native (alias)

## Dépendances

- ocaml

## Comportement d'installation

- hook post-installation: non défini
- Bouteille: disponible sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Version et fraîcheur

- page générée: 2026-08-04
- version du gestionnaire: 0.16.1
- gestionnaire mis à jour: 2026-07-13
- données locales: OK
- dépôt amont: https://github.com/ocaml/ocamlbuild
- dernière version détectée: 0.16.1 (à jour)
## Historique du projet et usages

ocamlbuild is the legacy OCaml build manager: a rule-based tool that automates compilation of OCaml libraries and programs with minimal project metadata. It predates Dune's dominance and remains packaged for older projects, tutorials, and build systems that still invoke ocamlbuild.

### Historique du projet

ocamlbuild was included in the OCaml compiler distribution from OCaml 3.10.0 in May 2007 through OCaml 4.02.3 in July 2015, according to the project's Changes file. OCaml 4.03 split ocamlbuild out as an independent project hosted at github.com/ocaml/ocamlbuild, part of a broader effort to move tools out of the compiler distribution.

### Historique d'adoption

For years, ocamlbuild was the standard bundled answer for medium-sized OCaml projects that needed more automation than raw Makefiles. The upstream README documents the later ecosystem shift: between January and June 2019, 77 newly released public OCaml packages used ocamlbuild while 544 used Dune.

### Modes d'utilisation

Developers use ocamlbuild by asking it to build targets such as native executables, bytecode executables, or libraries; it infers dependencies and applies built-in OCaml compilation rules. More complex projects customize behavior with small text files and OCaml plugin code.

### Pourquoi les passionnés de paquets s'y intéressent

ocamlbuild is significant because it shows the OCaml toolchain's unbundling path. A tool that used to ship with the compiler became an opam and distro package, so package managers had to make explicit what older compiler installations provided implicitly.

### Chronologie

- 2007-05: OCaml 3.10.0 began shipping ocamlbuild in the compiler distribution.
- 2015-07: OCaml 4.02.3 was the last compiler release in the bundled ocamlbuild period documented by the ocamlbuild Changes file.
- 2016: OCaml 4.03 split ocamlbuild into an independent project.
- 2019-01 to 2019-06: The ocamlbuild README recorded 77 new public packages using ocamlbuild versus 544 using Dune.
- 2025-02-13: The GitHub releases page lists OCamlbuild 0.16.1.

### Related projects

- Dune is the successor build system recommended by the ocamlbuild README for new projects. ocamlfind/findlib integrates with ocamlbuild-era projects by supplying package flags, while opam installs ocamlbuild as a separate package for compiler switches that need it.

### Sources

- <https://formulae.brew.sh/formula/ocamlbuild>
- <https://github.com/ocaml/ocamlbuild>
- <https://github.com/ocaml/ocamlbuild/blob/master/Changes>
- <https://ocaml.org/manual/4.02/ocamlbuild.html>
- <https://ocaml.org/manual/4.03/manual032.html>
- <https://ocaml.org/releases/4.03.0>


## Notes de sécurité

generalized runtime or code generation signal.

- **Risque Geiger:** yellow / moyen
- generalized runtime or code generation signal

## Détails de la base source

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** ocamlbuild
- **Version Scheme:** 0
- **Revision:** 1
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Autres enregistrements de gestionnaires de paquets

- Debian apt - ocamlbuild - 0.16.1-1+b1: normalized package name match | Debian stable package indexes: ocamlbuild from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Build tool for building OCaml libraries and programs | https://github.com/ocaml/ocamlbuild/
- Ubuntu apt - ocamlbuild - 0.14.3-1: normalized package name match | Ubuntu 24.04 LTS package indexes: ocamlbuild from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Build tool for building OCaml libraries and programs | https://github.com/ocaml/ocamlbuild/
- apk - ocaml-ocamlbuild - 0.14.1-r6: normalized package name match | Alpine Linux edge package indexes: ocaml-ocamlbuild from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Generic build tool with built-in rules for building OCaml library and programs (library & development files) | https://github.com/ocaml/ocamlbuild
- apk - ocamlbuild - 0.14.1-r6: normalized package name match | Alpine Linux edge package indexes: ocamlbuild from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Generic build tool with built-in rules for building OCaml library and programs | https://github.com/ocaml/ocamlbuild
- apk - ocamlbuild-doc - 0.14.1-r6: normalized package name match | Alpine Linux edge package indexes: ocamlbuild-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Generic build tool with built-in rules for building OCaml library and programs (documentation) | https://github.com/ocaml/ocamlbuild
- pacman - ocamlbuild - 0.16.1-7: normalized package name match | Arch Linux sync databases: ocamlbuild from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Build tool that has built-in rules for building OCaml libraries and programs | https://github.com/ocaml/ocamlbuild


## Liens liés

- [Source-control packages](https://pkg.so/fr/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://pkg.so/fr/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/fr/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/fr/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [ocaml](https://pkg.so/fr/brew/ocaml/) - Runtime dependency declared by Homebrew.
- [maven](https://pkg.so/fr/brew/maven/) - Shares pkgdb curated category or tags: build-tool, build-tools, cli, developer-tools.
- [sbt](https://pkg.so/fr/brew/sbt/) - Shares pkgdb curated category or tags: build-tool, build-tools, cli, developer-tools.
- [bazel](https://pkg.so/fr/brew/bazel/) - Shares pkgdb curated category or tags: build-tool, build-tools, cli, developer-tools.
- [ant](https://pkg.so/fr/brew/ant/) - Shares pkgdb curated category or tags: build-tool, build-tools, cli, developer-tools.
- [bear](https://pkg.so/fr/brew/bear/) - Shares pkgdb curated category or tags: build-tool, build-tools, cli, developer-tools.
- [leiningen](https://pkg.so/fr/brew/leiningen/) - Shares pkgdb curated category or tags: build-tool, build-tools, cli, developer-tools.
- [nx](https://pkg.so/fr/brew/nx/) - Shares pkgdb curated category or tags: build-system, build-tools, cli, developer-tools.
- [buildkit](https://pkg.so/fr/brew/buildkit/) - Shares pkgdb curated category or tags: build-system, build-tools, cli, developer-tools.
- [melange](https://pkg.so/fr/brew/melange/) - Local metadata places this package in an adjacent workflow. Shared terms: build, build-system, build-tools, cli, developer.
- [father](https://pkg.so/fr/npm/father/) - Local metadata places this package in an adjacent workflow. Shared terms: build, build-tool, build-tools, cli, developer.

## Combined YAML source

View the package source record on GitHub. [combined/ocamlbuild.yml](https://github.com/mxcl/pkgdb/blob/main/combined/ocamlbuild.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
