pkg.soopen package index

brew / 排名 1461

使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper 安装 ocaml

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install ocaml

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install ocaml

MacPorts ports tree · lang/ocaml/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add ocaml

Alpine Linux edge package indexes · ocaml · 来源: dl-cdn.alpinelinux.org

Debian apt已验证 · 92%
sudo apt install ocaml

Debian stable package indexes · ocaml · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install ocaml

Fedora Rawhide package metadata · ocaml · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#ocaml

nixpkgs package indexes · ocaml · 来源: raw.githubusercontent.com

Arch Linux pacman已验证 · 92%
sudo pacman -S ocaml

Arch Linux sync databases · ocaml · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install ocaml

openSUSE Tumbleweed package metadata · ocaml · 来源: download.opensuse.org

概览

软件包摘要

General purpose programming language in the ML family

命令和别名

  • aarch64-unknown-linux-gnu-ocamlrun-a104
  • aarch64-unknown-linux-gnu-ocamlrund-a104
  • aarch64-unknown-linux-gnu-ocamlruni-a104
  • ocaml
  • ocamlc
  • ocamlc.byte
  • ocamlc.opt
  • ocamlcmt
  • ocamlcp
  • ocamldebug
  • ocamldep
  • ocamldep.byte
  • ocamldep.opt
  • ocamldoc
  • ocamldoc.opt
  • ocamllex
  • ocamllex.byte
  • ocamllex.opt
  • ocamlmklib
  • ocamlmktop
  • ocamlobjinfo
  • ocamlobjinfo.byte
  • ocamlobjinfo.opt
  • ocamlopt
  • ocamlopt.byte
  • ocamlopt.opt
  • ocamloptp
  • ocamlprof
  • ocamlrun
  • ocamlrun-a104
  • ocamlrund
  • ocamlrund-a104

历史

项目历史与用法

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.

时间线

  • 1995: Caml Special Light introduced an optimizing native-code compiler and a stronger module system.
  • 1996: Objective Caml was released, combining object-oriented programming with ML-style polymorphic type inference.
  • 2000: Optional arguments and polymorphic variants were added.
  • 2011: The official language name became OCaml.
  • 2012: OCaml 4.0 added GADTs and first-class modules.
  • 2013: opam 1.0 established a source-based package manager for OCaml switches and packages.
  • 2022-12-16: OCaml 5.0.0 introduced runtime support for shared-memory parallelism and effect handlers.
  • 2026-06: The OCaml manual describes the 5.5 release line.

Related projects

  • opam is the source-based package manager for OCaml; Dune is the dominant build system; ocamlfind/findlib is the older library discovery layer; ocamlbuild is the legacy build manager; merlin and ocaml-lsp-server provide editor integration; odoc and ocamldoc cover documentation generation.

安全态势

风险级别:yellow

generalized runtime or code generation signal.

风险分类器

yellow 风险 · 中 置信度 · runtime

原因

  • generalized runtime or code generation signal

信号

  • text:programming language

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
aarch64-unknown-linux-gnu-ocamlrun-a104可执行文件已索引可执行文件从本地可执行文件索引发现。
aarch64-unknown-linux-gnu-ocamlrund-a104可执行文件已索引可执行文件从本地可执行文件索引发现。
aarch64-unknown-linux-gnu-ocamlruni-a104可执行文件已索引可执行文件从本地可执行文件索引发现。
ocaml可执行文件已索引可执行文件从本地可执行文件索引发现。
ocamlc可执行文件已索引可执行文件从本地可执行文件索引发现。
ocamlc.byte可执行文件已索引可执行文件从本地可执行文件索引发现。
ocamlc.opt可执行文件已索引可执行文件从本地可执行文件索引发现。
ocamlcmt可执行文件已索引可执行文件从本地可执行文件索引发现。
ocamlcp可执行文件已索引可执行文件从本地可执行文件索引发现。
ocamldebug可执行文件已索引可执行文件从本地可执行文件索引发现。
ocamldep可执行文件已索引可执行文件从本地可执行文件索引发现。
ocamldep.byte可执行文件已索引可执行文件从本地可执行文件索引发现。
ocamldep.opt可执行文件已索引可执行文件从本地可执行文件索引发现。
ocamldoc可执行文件已索引可执行文件从本地可执行文件索引发现。
ocamldoc.opt可执行文件已索引可执行文件从本地可执行文件索引发现。
ocamllex可执行文件已索引可执行文件从本地可执行文件索引发现。
ocamllex.byte可执行文件已索引可执行文件从本地可执行文件索引发现。
ocamllex.opt可执行文件已索引可执行文件从本地可执行文件索引发现。
ocamlmklib可执行文件已索引可执行文件从本地可执行文件索引发现。
ocamlmktop可执行文件已索引可执行文件从本地可执行文件索引发现。
ocamlobjinfo可执行文件已索引可执行文件从本地可执行文件索引发现。
ocamlobjinfo.byte可执行文件已索引可执行文件从本地可执行文件索引发现。
ocamlobjinfo.opt可执行文件已索引可执行文件从本地可执行文件索引发现。
ocamlopt可执行文件已索引可执行文件从本地可执行文件索引发现。
ocamlopt.byte可执行文件已索引可执行文件从本地可执行文件索引发现。
ocamlopt.opt可执行文件已索引可执行文件从本地可执行文件索引发现。
ocamloptp可执行文件已索引可执行文件从本地可执行文件索引发现。
ocamlprof可执行文件已索引可执行文件从本地可执行文件索引发现。
ocamlrun可执行文件已索引可执行文件从本地可执行文件索引发现。
ocamlrun-a104可执行文件已索引可执行文件从本地可执行文件索引发现。
ocamlrund可执行文件已索引可执行文件从本地可执行文件索引发现。
ocamlrund-a104可执行文件已索引可执行文件从本地可执行文件索引发现。
ocamlruni可执行文件已索引可执行文件从本地可执行文件索引发现。
ocamlruni-a104可执行文件已索引可执行文件从本地可执行文件索引发现。
ocamlyacc可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

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

页面生成时间2026-08-03
管理器版本5.5.0
管理器更新时间2026-07-13
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:ocaml
版本5.5.0
软件包管理器Homebrew
主页https://ocaml.org/
仓库https://github.com/ocaml/ocaml
最后更新2026-07-13T05:11:30Z
Pulseupdated
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

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

Debian apt95%

libcompiler-libs-ocaml-dev 5.3.0-3

OCaml compiler library (development files)

https://ocaml.org/

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

libstdlib-ocaml 5.3.0-3

OCaml standard library (runtime files)

https://ocaml.org/

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

libstdlib-ocaml-dev 5.3.0-3

OCaml standard library (development files)

https://ocaml.org/

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

ocaml 5.3.0-3

ML language implementation with a class-based object system

https://ocaml.org/

sudo apt install ocaml
  • Section: ocaml
  • Architecture: amd64
  • 8 依赖
  • 3 提供
  • 4 可选依赖
  • normalized package name match
  • 匹配方式:Ocaml
Debian stable package indexes · deb.debian.org · Debian stable package indexes: ocaml from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

ocaml-base 5.3.0-3

Runtime system for OCaml bytecode executables

https://ocaml.org/

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

ocaml-base-nox 5.3.0-3

transitional package for ocaml-base

https://ocaml.org/

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

ocaml-compiler-libs 5.3.0-3

transitional package for libcompiler-libs-ocaml-dev

https://ocaml.org/

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

ocaml-interp 5.3.0-3

OCaml interactive interpreter and standard libraries

https://ocaml.org/

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

ocaml-man 5.3.0-3

OCaml interpreter and standard libraries (lib manpages)

https://ocaml.org/

sudo apt install ocaml-man
  • Section: ocaml
  • Architecture: all
  • Source Package: ocaml
  • normalized package name match
  • 匹配方式:Ocaml
Debian stable package indexes · deb.debian.org · Debian stable package indexes: ocaml-man from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

ocaml-nox 5.3.0-3

transitional package for ocaml

https://ocaml.org/

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

ocaml-source 5.3.0-3

Sources for Objective Caml

https://ocaml.org/

sudo apt install ocaml-source
  • Section: ocaml
  • Architecture: all
  • Source Package: ocaml
  • 1 提供
  • normalized package name match
  • 匹配方式:Ocaml
Debian stable package indexes · deb.debian.org · Debian stable package indexes: ocaml-source from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

ocaml

nix profile install nixpkgs#ocaml
  • normalized package name match
  • 匹配方式:Ocaml
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: ocaml from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
Ubuntu apt95%

libcompiler-libs-ocaml-dev 4.14.1-1ubuntu1

OCaml compiler library (development files)

https://ocaml.org/

sudo apt install libcompiler-libs-ocaml-dev
  • Section: universe/ocaml
  • Architecture: amd64
  • Source Package: ocaml
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Ocaml
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libcompiler-libs-ocaml-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libstdlib-ocaml 4.14.1-1ubuntu1

OCaml standard library (runtime files)

https://ocaml.org/

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

libstdlib-ocaml-dev 4.14.1-1ubuntu1

OCaml standard library (development files)

https://ocaml.org/

sudo apt install libstdlib-ocaml-dev
  • Section: universe/ocaml
  • Architecture: amd64
  • Source Package: ocaml
  • 1 依赖
  • 4 提供
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Ocaml
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libstdlib-ocaml-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

ocaml 4.14.1-1ubuntu1

ML language implementation with a class-based object system

https://ocaml.org/

sudo apt install ocaml
  • Section: universe/devel
  • Architecture: amd64
  • 6 依赖
  • 3 提供
  • 4 可选依赖
  • normalized package name match
  • 匹配方式:Ocaml
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: ocaml from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

来源线索

由仓库数据生成

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

使用的来源

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