macOS
brew install ocamllocal Homebrew formula metadata
sudo port install ocamlMacPorts ports tree · lang/ocaml/Portfile · ソース: api.github.com
brew
ocaml のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install ocamllocal 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 is the main implementation of the Caml branch of the ML family: a strict, statically typed, type-inferred language with functional, imperative, modular, and object-oriented features. The brewed ocaml package installs the compiler suite, runtime tools, lexer and parser generators, documentation tools, debugger, dependency analyzer, and native-code and bytecode compilers.
OCaml grew out of Caml work at INRIA. Caml Special Light arrived in 1995 with an optimizing native-code compiler and a module system inspired by Standard ML; Objective Caml followed in 1996 after Didier Remy and Jerome Vouillon's object-type work was integrated into the language. The official name became OCaml in 2011.
The language evolved through major compiler and ecosystem changes. OCaml 4.0 in 2012 added GADTs and first-class modules; OCaml 4.03 in 2016 split ocamlbuild out of the compiler distribution; OCaml 5.0 in 2022 rewrote the runtime, removed the global runtime lock, and introduced support for shared-memory parallelism and effect handlers.
OCaml began with a strong academic base and gained industrial users around the Objective Caml period documented by ocaml.org. The official history page identifies adoption in static analysis tools, compilers, financial systems, and web development, and the language ecosystem later consolidated around opam, Dune, odoc, ocamlformat, merlin, and related platform tools.
Developers use OCaml for compilers, formal-methods tooling, static analysis, developer tools, financial infrastructure, web services, and systems where strong static typing and fast native code are useful. The package exposes both bytecode and native compilers, the interactive toplevel, ocamldebug, ocamldep, ocamldoc, ocamllex, ocamlyacc, and object-inspection tools.
OCaml is package-nerd rich because the compiler version is also an ecosystem axis. opam switches, findlib package names, Dune language versions, compiler-libs compatibility, PPX AST versions, and long-lived compiler branches all affect whether an OCaml package can build.
セキュリティ状態
generalized runtime or code generation signal.
リスク yellow · 信頼度 中 · runtime
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
ocaml | cli | グローバル実行可能ファイル | |
ocamlc | cli | グローバル実行可能ファイル | |
ocamlc.byte | cli | グローバル実行可能ファイル | |
ocamlc.opt | cli | グローバル実行可能ファイル | |
ocamlcmt | cli | グローバル実行可能ファイル | |
ocamlcp | cli | グローバル実行可能ファイル | |
ocamldebug | cli | グローバル実行可能ファイル | |
ocamldep | cli | グローバル実行可能ファイル | |
ocamldep.byte | cli | グローバル実行可能ファイル | |
ocamldep.opt | cli | グローバル実行可能ファイル | |
ocamldoc | cli | グローバル実行可能ファイル | |
ocamldoc.opt | cli | グローバル実行可能ファイル | |
ocamllex | cli | グローバル実行可能ファイル | |
ocamllex.byte | cli | グローバル実行可能ファイル | |
ocamllex.opt | cli | グローバル実行可能ファイル | |
ocamlmklib | cli | グローバル実行可能ファイル | |
ocamlmktop | cli | グローバル実行可能ファイル | |
ocamlobjinfo | cli | グローバル実行可能ファイル | |
ocamlobjinfo.byte | cli | グローバル実行可能ファイル | |
ocamlobjinfo.opt | cli | グローバル実行可能ファイル | |
ocamlopt | cli | グローバル実行可能ファイル | |
ocamlopt.byte | cli | グローバル実行可能ファイル | |
ocamlopt.opt | cli | グローバル実行可能ファイル | |
ocamloptp | cli | グローバル実行可能ファイル | |
ocamlprof | cli | グローバル実行可能ファイル | |
ocamlrun | cli | グローバル実行可能ファイル | |
ocamlrund | cli | グローバル実行可能ファイル | |
ocamlruni | cli | グローバル実行可能ファイル | |
ocamlyacc | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
インストールメタデータ
| パッケージキー | brew:ocaml |
|---|---|
| バージョン | 5.4.1 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/ocaml |
| ホームページ | 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-5.4/ocaml-5.4.1.tar.xz |
| 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 |
| Aliases |
|
| 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 |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの 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.