macOS
brew install ocamlbuildlocal Homebrew formula metadata
brew
Generic build tool for OCaml. Version 0.16.1 via Homebrew; verified from local package data.
install
brew install ocamlbuildlocal Homebrew formula metadata
sudo apk add ocaml-ocamlbuildAlpine Linux edge package indexes · ocaml-ocamlbuild · source: dl-cdn.alpinelinux.org
sudo apt install ocamlbuildDebian stable package indexes · ocamlbuild · source: deb.debian.org
sudo pacman -S ocamlbuildArch Linux sync databases · ocamlbuild · source: geo.mirror.pkgbuild.com
overview
Generic build tool for OCaml
history
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.
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.
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.
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.
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.
security posture
generalized runtime or code generation signal.
yellow risk · medium confidence · runtime
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
ocamlbuild | cli | global executable | |
ocamlbuild.byte | cli | global executable | |
ocamlbuild.native | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/ocaml/ocamlbuild
install metadata
| Package key | brew:ocamlbuild |
|---|---|
| Version | 0.16.1 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/ocamlbuild |
| Homepage | https://github.com/ocaml/ocamlbuild |
| Repository | https://github.com/ocaml/ocamlbuild |
| Upstream docs | https://github.com/ocaml/ocamlbuild#readme |
| License | LGPL-2.0-only WITH OCaml-LGPL-linking-exception |
| Source archive | https://github.com/ocaml/ocamlbuild/archive/refs/tags/0.16.1.tar.gz |
| Dependencies | ocaml |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | ocamlbuild |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
ocamlbuild 0.16.1-1+b1
Build tool for building OCaml libraries and programs
https://github.com/ocaml/ocamlbuild/
sudo apt install ocamlbuildocamlbuild 0.14.3-1
Build tool for building OCaml libraries and programs
https://github.com/ocaml/ocamlbuild/
sudo apt install ocamlbuildocaml-ocamlbuild 0.14.1-r5
Generic build tool with built-in rules for building OCaml library and programs (library & development files)
https://github.com/ocaml/ocamlbuild
sudo apk add ocaml-ocamlbuildocamlbuild 0.14.1-r5
Generic build tool with built-in rules for building OCaml library and programs
https://github.com/ocaml/ocamlbuild
sudo apk add ocamlbuildocamlbuild-doc 0.14.1-r5
Generic build tool with built-in rules for building OCaml library and programs (documentation)
https://github.com/ocaml/ocamlbuild
sudo apk add ocamlbuild-dococamlbuild 0.16.1-5
Build tool that has built-in rules for building OCaml libraries and programs
https://github.com/ocaml/ocamlbuild
sudo pacman -S ocamlbuildsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.