Automic VaultAutomic Vault

brew

Installer ocaml avec Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de ocaml pour les workflows d'agents IA.

installation

Commandes d'installation supplémentaires

macOS

Homebrewvérifié · 100%
brew install ocaml

local Homebrew formula metadata

MacPortsvérifié · 94%
sudo port install ocaml

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

Linux

Alpine Linux apkvérifié · 92%
sudo apk add ocaml

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

Debian aptvérifié · 92%
sudo apt install ocaml

Debian stable package indexes · ocaml · Source: deb.debian.org

Fedora dnfvérifié · 92%
sudo dnf install ocaml

Fedora Rawhide package metadata · ocaml · Source: dl.fedoraproject.org

Nixvérifié · 92%
nix profile install nixpkgs#ocaml

nixpkgs package indexes · ocaml · Source: raw.githubusercontent.com

Arch Linux pacmanvérifié · 92%
sudo pacman -S ocaml

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

openSUSE zyppervérifié · 92%
sudo zypper install ocaml

openSUSE Tumbleweed package metadata · ocaml · Source: download.opensuse.org

aperçu

Résumé du paquet

General purpose programming language in the ML family

Commandes et alias

  • 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
  • ocamlrund
  • ocamlruni
  • ocamlyacc

historique

Historique du projet et usages

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.

Historique du projet

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.

Historique d'adoption

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.

Modes d'utilisation

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.

Pourquoi les passionnés de paquets s'y intéressent

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.

Chronologie

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

posture de sécurité

Niveau de risque : yellow

generalized runtime or code generation signal.

Classificateur de risque

risque yellow · confiance moyen · runtime

Pourquoi

  • generalized runtime or code generation signal

Signaux

  • text:programming language

Comportement d'installation

  • Aucun hook post-install Homebrew n’est enregistré dans les métadonnées de formule.
  • Les métadonnées de bottle Homebrew sont disponibles pour 6 plateformes.

Revue recommandée

Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.

exécutables

Exécutables installés

CommandeTypeExpositionNote
ocamlcliexécutable global
ocamlccliexécutable global
ocamlc.bytecliexécutable global
ocamlc.optcliexécutable global
ocamlcmtcliexécutable global
ocamlcpcliexécutable global
ocamldebugcliexécutable global
ocamldepcliexécutable global
ocamldep.bytecliexécutable global
ocamldep.optcliexécutable global
ocamldoccliexécutable global
ocamldoc.optcliexécutable global
ocamllexcliexécutable global
ocamllex.bytecliexécutable global
ocamllex.optcliexécutable global
ocamlmklibcliexécutable global
ocamlmktopcliexécutable global
ocamlobjinfocliexécutable global
ocamlobjinfo.bytecliexécutable global
ocamlobjinfo.optcliexécutable global
ocamloptcliexécutable global
ocamlopt.bytecliexécutable global
ocamlopt.optcliexécutable global
ocamloptpcliexécutable global
ocamlprofcliexécutable global
ocamlruncliexécutable global
ocamlrundcliexécutable global
ocamlrunicliexécutable global
ocamlyacccliexécutable global

fraîcheur

Version et fraîcheur

Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.

page générée2026-07-10
version du gestionnaire5.4.1
gestionnaire mis à jour
données localesOK
amontnot checked
dernière version détectéenon détecté

https://ocaml.org/

  • infoNo package-manager update timestamp was available.confiance faible
  • infoRelease/tag comparison is only available for GitHub repositories.https://ocaml.org/confiance none

métadonnées d'installation

Métadonnées du paquet

Clé du paquetbrew:ocaml
Version5.4.1
Gestionnaire de paquetsHomebrew
Page du gestionnaire de paquetshttps://formulae.brew.sh/formula/ocaml
Page d'accueilhttps://ocaml.org/
Dépôthttps://github.com/ocaml/ocaml
Docs amonthttps://ocaml.org/docs
LicenceLGPL-2.1-only WITH OCaml-LGPL-linking-exception
Archive sourcehttps://caml.inria.fr/pub/distrib/ocaml-5.4/ocaml-5.4.1.tar.xz
Bouteilledisponible (sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
post-install Homebrewnon défini
Serviceaucun déclaré

faits du registre

Détails de la base source

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameocaml
Aliases
  • o-caml
  • ocaml@5
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

correspondances dans les bases sources

Autres enregistrements de gestionnaires de paquets

Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.

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 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : 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 Dépendances
  • 4 fournit
  • normalized package name match
  • Correspondance par : 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 Dépendances
  • 4 fournit
  • 1 dépendances optionnelles
  • normalized package name match
  • Correspondance par : 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 Dépendances
  • 3 fournit
  • 4 dépendances optionnelles
  • normalized package name match
  • Correspondance par : 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 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : 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 Dépendances
  • normalized package name match
  • Correspondance par : 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 Dépendances
  • normalized package name match
  • Correspondance par : 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 Dépendances
  • 1 fournit
  • 2 dépendances optionnelles
  • normalized package name match
  • Correspondance par : 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
  • Correspondance par : 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 Dépendances
  • normalized package name match
  • Correspondance par : 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 fournit
  • normalized package name match
  • Correspondance par : 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
  • Correspondance par : 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 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : 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 Dépendances
  • 4 fournit
  • normalized package name match
  • Correspondance par : 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 Dépendances
  • 4 fournit
  • 1 dépendances optionnelles
  • normalized package name match
  • Correspondance par : 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 Dépendances
  • 3 fournit
  • 4 dépendances optionnelles
  • normalized package name match
  • Correspondance par : 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

piste source

Généré depuis les données du dépôt

Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.

Sources utilisées

  • 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