Automic VaultAutomic Vault

brew

使用 Homebrew, apk, apt, pacman 安装 ocamlbuild

查看 ocamlbuild 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install ocamlbuild

local Homebrew formula metadata

概览

软件包摘要

Generic build tool for OCaml

命令和别名

  • ocamlbuild
  • ocamlbuild.byte
  • ocamlbuild.native

历史

项目历史与用法

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.

时间线

  • 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.

安全态势

风险级别:yellow

generalized runtime or code generation signal.

风险分类器

yellow 风险 · 中 置信度 · runtime

原因

  • generalized runtime or code generation signal

信号

  • text:build tool

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 1 个运行时依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
ocamlbuildcli全局可执行文件
ocamlbuild.bytecli全局可执行文件
ocamlbuild.nativecli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本0.16.1
管理器更新时间2026-07-13
本地数据OK
上游当前
检测到的最新版本0.16.1

https://github.com/ocaml/ocamlbuild

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:ocamlbuild
版本0.16.1
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/ocamlbuild
主页https://github.com/ocaml/ocamlbuild
仓库https://github.com/ocaml/ocamlbuild
上游文档https://github.com/ocaml/ocamlbuild#readme
许可证LGPL-2.0-only WITH OCaml-LGPL-linking-exception
源码归档https://github.com/ocaml/ocamlbuild/archive/refs/tags/0.16.1.tar.gz
最后更新2026-07-13T05:11:31Z
Pulseupdated
依赖ocaml
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameocamlbuild
Version Scheme0
Revision1
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

ocamlbuild 0.16.1-1+b1

Build tool for building OCaml libraries and programs

https://github.com/ocaml/ocamlbuild/

sudo apt install ocamlbuild
  • Section: ocaml
  • Architecture: amd64
  • Source Package: ocamlbuild
  • 3 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Ocamlbuild
Debian stable package indexes · deb.debian.org · Debian stable package indexes: ocamlbuild from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt95%

ocamlbuild 0.14.3-1

Build tool for building OCaml libraries and programs

https://github.com/ocaml/ocamlbuild/

sudo apt install ocamlbuild
  • Section: universe/ocaml
  • Architecture: amd64
  • 3 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Ocamlbuild
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: ocamlbuild from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

ocaml-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-ocamlbuild
  • License: LGPL-2.0-or-later WITH OCaml-LGPL-linking-exception
  • Architecture: x86_64
  • Source Package: ocamlbuild
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Ocamlbuild
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: ocaml-ocamlbuild from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

ocamlbuild 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 ocamlbuild
  • License: LGPL-2.0-or-later WITH OCaml-LGPL-linking-exception
  • Architecture: x86_64
  • Source Package: ocamlbuild
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Ocamlbuild
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: ocamlbuild from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

ocamlbuild-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-doc
  • License: LGPL-2.0-or-later WITH OCaml-LGPL-linking-exception
  • Architecture: x86_64
  • Source Package: ocamlbuild
  • normalized package name match
  • 匹配方式:Ocamlbuild
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: ocamlbuild-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
pacman95%

ocamlbuild 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 ocamlbuild
  • License: GPL-2.0-only
  • Architecture: x86_64
  • 2 依赖
  • normalized package name match
  • 匹配方式:Ocamlbuild
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: ocamlbuild from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment