macOS
brew install ocaml@4local Homebrew formula metadata
sudo port install ocamlMacPorts ports tree · lang/ocaml/Portfile · ソース: api.github.com
brew
ocaml@4 のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install ocaml@4local Homebrew formula metadata
sudo port install ocamlMacPorts ports tree · lang/ocaml/Portfile · ソース: api.github.com
sudo apk add ocamlAlpine Linux edge package indexes · ocaml · ソース: dl-cdn.alpinelinux.org
sudo apt install ocamlDebian stable package indexes · ocaml · ソース: deb.debian.org
sudo dnf install ocamlFedora Rawhide package metadata · ocaml · ソース: dl.fedoraproject.org
nix profile install nixpkgs#ocamlnixpkgs package indexes · ocaml · ソース: raw.githubusercontent.com
sudo pacman -S ocamlArch Linux sync databases · ocaml · ソース: geo.mirror.pkgbuild.com
sudo zypper install ocamlopenSUSE Tumbleweed package metadata · ocaml · ソース: download.opensuse.org
概要
General purpose programming language in the ML family
履歴
ocaml@4 packages the OCaml 4 compiler line separately from the main ocaml formula. It exists for projects and dependency graphs that still need the OCaml 4 runtime, compiler-libs AST, PPX compatibility, or build behavior rather than the OCaml 5 runtime model.
OCaml 4 began as the post-Objective Caml line that added features such as GADTs and first-class modules in 4.0. The 4.x series became the compatibility baseline for a large portion of the opam ecosystem across the 2010s and early 2020s, including packages whose PPX rewriters or compiler-libs dependencies track specific OCaml AST versions.
The 4.14 branch became the final OCaml 4 branch. OCaml.org release notes describe 4.14 as the last version of OCaml 4 and a long-term support branch for the transition to OCaml 5; OCaml 4.14.4 was released on 2026-06-15 with safe bug fixes and security fixes cherry-picked from OCaml 5.
The separate Homebrew formula reflects the same compatibility pressure seen in opam switches: developers may need a compiler line older than the default package to build older projects, reproduce releases, or support dependencies not yet migrated to OCaml 5.
Users install ocaml@4 when a project specifies OCaml 4.14 or an older 4.x-compatible dependency set. The package exposes the standard OCaml compiler commands, including ocaml, ocamlc, ocamlopt, ocamldep, ocamldoc, ocamllex, ocamlyacc, ocamlobjinfo, and runtime utilities.
Versioned compiler formulae are important for OCaml because compiler releases affect ABI, compiler-libs APIs, PPX ASTs, and package solver outcomes. ocaml@4 is a compact example of a package manager preserving a language ecosystem's old compiler branch while the main formula follows OCaml 5.
セキュリティ状態
ocaml@4 に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
ocamlcp.byte | cli | グローバル実行可能ファイル | |
ocamlcp.opt | cli | グローバル実行可能ファイル | |
ocamlmklib.byte | cli | グローバル実行可能ファイル | |
ocamlmklib.opt | cli | グローバル実行可能ファイル | |
ocamlmktop.byte | cli | グローバル実行可能ファイル | |
ocamlmktop.opt | cli | グローバル実行可能ファイル | |
ocamloptp.byte | cli | グローバル実行可能ファイル | |
ocamloptp.opt | cli | グローバル実行可能ファイル | |
ocamlprof.byte | cli | グローバル実行可能ファイル | |
ocamlprof.opt | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
インストールメタデータ
| パッケージキー | brew:ocaml@4 |
|---|---|
| バージョン | 4.14.4 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/ocaml@4 |
| ホームページ | https://ocaml.org/ |
| リポジトリ | https://github.com/ocaml/ocaml |
| 上流ドキュメント | https://ocaml.org/docs |
| ライセンス | LGPL-2.1-only WITH OCaml-LGPL-linking-exception |
| ソースアーカイブ | https://caml.inria.fr/pub/distrib/ocaml-4.14/ocaml-4.14.4.tar.xz |
| 最終更新 | 2026-06-19T12:32:40-07:00 |
| Pulse | updated |
| Bottle | 利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | ocaml@4 |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | yes |
| URL Keys |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
libcompiler-libs-ocaml-dev 5.3.0-3
OCaml compiler library (development files)
sudo apt install libcompiler-libs-ocaml-devlibstdlib-ocaml 5.3.0-3
OCaml standard library (runtime files)
sudo apt install libstdlib-ocamllibstdlib-ocaml-dev 5.3.0-3
OCaml standard library (development files)
sudo apt install libstdlib-ocaml-devocaml 5.3.0-3
ML language implementation with a class-based object system
sudo apt install ocamlocaml-base 5.3.0-3
Runtime system for OCaml bytecode executables
sudo apt install ocaml-baseocaml-base-nox 5.3.0-3
transitional package for ocaml-base
sudo apt install ocaml-base-noxocaml-compiler-libs 5.3.0-3
transitional package for libcompiler-libs-ocaml-dev
sudo apt install ocaml-compiler-libsocaml-interp 5.3.0-3
OCaml interactive interpreter and standard libraries
sudo apt install ocaml-interpocaml-man 5.3.0-3
OCaml interpreter and standard libraries (lib manpages)
sudo apt install ocaml-manocaml-nox 5.3.0-3
transitional package for ocaml
sudo apt install ocaml-noxocaml-source 5.3.0-3
Sources for Objective Caml
sudo apt install ocaml-sourceocaml
nix profile install nixpkgs#ocamllibcompiler-libs-ocaml-dev 4.14.1-1ubuntu1
OCaml compiler library (development files)
sudo apt install libcompiler-libs-ocaml-devlibstdlib-ocaml 4.14.1-1ubuntu1
OCaml standard library (runtime files)
sudo apt install libstdlib-ocamllibstdlib-ocaml-dev 4.14.1-1ubuntu1
OCaml standard library (development files)
sudo apt install libstdlib-ocaml-devocaml 4.14.1-1ubuntu1
ML language implementation with a class-based object system
sudo apt install ocamlソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.