# Installer ocaml

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

## installation

```sh
sudo av install brew:ocaml
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install ocaml
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install ocaml
```

  Preuve: MacPorts ports tree: lang/ocaml/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add ocaml
```

  Preuve: Alpine Linux edge package indexes: ocaml from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install ocaml
```

  Preuve: Debian stable package indexes: ocaml from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install ocaml
```

  Preuve: Fedora Rawhide package metadata: ocaml from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/13ee7b80cb813542594d4235c4a0b8695435d5ecf23dd3580bc7515ae1b6180d-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#ocaml
```

  Preuve: nixpkgs package indexes: ocaml from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

- pacman (92%):

```sh
sudo pacman -S ocaml
```

  Preuve: Arch Linux sync databases: ocaml from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install ocaml
```

  Preuve: openSUSE Tumbleweed package metadata: ocaml from https://download.opensuse.org/tumbleweed/repo/oss/repodata/155b97171d05e27afd950b6fe0d55513ff38f4597110664535bceedc680bbe6fd459f0733718dcc21dcf0efc7c8250fd1390c73d4790b42e62fb2c16a87242e5-primary.xml.zst

## Faits du paquet

- **Clé du paquet:** brew:ocaml
- **Gestionnaire de paquets:** Homebrew
- **Page du gestionnaire de paquets:** <https://formulae.brew.sh/formula/ocaml>
- **Version:** 5.4.1
- **Résumé source:** General purpose programming language in the ML family
- **Page d'accueil:** <https://ocaml.org/>
- **Docs amont:** <https://ocaml.org/>
- **Licence:** LGPL-2.1-only WITH OCaml-LGPL-linking-exception
- **Archive source:** <https://caml.inria.fr/pub/distrib/ocaml-5.4/ocaml-5.4.1.tar.xz>
- **Mis à jour:** 2026-03-22T03:32:09Z
- **Source générée:** 2026-05-26T22:45:13+00:00

## exécutables

- 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)
- ocaml (alias)
- ocamlc (alias)
- ocamlc.byte (alias)
- ocamlc.opt (alias)
- ocamlcmt (alias)
- ocamlcp (alias)
- ocamldebug (alias)
- ocamldep (alias)
- ocamldep.byte (alias)
- ocamldep.opt (alias)
- ocamldoc (alias)
- ocamldoc.opt (alias)
- ocamllex (alias)
- ocamllex.byte (alias)
- ocamllex.opt (alias)
- ocamlmklib (alias)
- ocamlmktop (alias)
- ocamlobjinfo (alias)
- ocamlobjinfo.byte (alias)
- ocamlobjinfo.opt (alias)
- ocamlopt (alias)
- ocamlopt.byte (alias)
- ocamlopt.opt (alias)
- ocamloptp (alias)
- ocamlprof (alias)
- ocamlrun (alias)
- ocamlrund (alias)
- ocamlruni (alias)
- ocamlyacc (alias)

## Comportement d'installation

- hook post-installation: non défini
- Bouteille: disponible sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## fraîcheur

- page générée: 2026-05-26
- version du gestionnaire: 5.4.1
- gestionnaire mis à jour: 2026-03-22
- données locales: ok
- dépôt amont: https://ocaml.org/
- info: Release/tag comparison is only available for GitHub repositories.

## Notes de sécurité

generalized runtime or code generation signal.

- **Risque Geiger:** yellow / medium
- generalized runtime or code generation signal

## Liens liés

- [rocq](https://www.automicvault.com/pkg/brew/rocq/) - Popular package that depends on this formula.
- [ocaml-findlib](https://www.automicvault.com/pkg/brew/ocaml-findlib/) - Popular package that depends on this formula.
- [cpdf](https://www.automicvault.com/pkg/brew/cpdf/) - Popular package that depends on this formula.
- [ocaml-zarith](https://www.automicvault.com/pkg/brew/ocaml-zarith/) - Popular package that depends on this formula.
- [camlpdf](https://www.automicvault.com/pkg/brew/camlpdf/) - Popular package that depends on this formula.
- [camlp5](https://www.automicvault.com/pkg/brew/camlp5/) - Popular package that depends on this formula.
- [camlp-streams](https://www.automicvault.com/pkg/brew/camlp-streams/) - Popular package that depends on this formula.
- [ocamlbuild](https://www.automicvault.com/pkg/brew/ocamlbuild/) - Popular package that depends on this formula.
- [ocaml@4](https://www.automicvault.com/pkg/brew/ocaml-4/) - Package name indicates the same formula family.
- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/)

## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- package version freshness
- package relationship graph
- cross-ecosystem install command graph
