# Installer ocaml-findlib avec Homebrew, apk, apt, dnf, MacPorts, pacman, zypper

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

## installation

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

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install ocaml-findlib
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install ocaml-findlib
```

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

### Linux

- apk (92%):

```sh
sudo apk add ocaml-findlib
```

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

- Debian apt (92%):

```sh
sudo apt install ocaml-findlib
```

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

- dnf (92%):

```sh
sudo dnf install ocaml-findlib
```

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

- pacman (92%):

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

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

- zypper (92%):

```sh
sudo zypper install ocaml-findlib
```

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

## Faits du paquet

- **Clé du paquet:** brew:ocaml-findlib
- **Gestionnaire de paquets:** Homebrew
- **Version:** 1.9.8
- **Résumé source:** OCaml library manager
- **Page d'accueil:** <http://projects.camlcity.org/projects/findlib.html>
- **Dépôt:** <https://github.com/ocaml/ocamlfind>
- **Dernière mise à jour:** 2026-07-13T05:11:30Z
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- ocamlfind (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 1.9.8
## Historique du projet et usages

ocaml-findlib provides findlib and the ocamlfind command, the long-standing library discovery and compiler-driver layer for OCaml libraries. Its core idea is small but ecosystem-shaping: libraries install META files that describe versions, compiler options, archives, dependencies, and predicates, and ocamlfind turns those descriptions into compiler and linker flags.

### Historique du projet

Findlib was created by Gerd Stolpmann and dates back to the Objective Caml era; the upstream README records copyright years beginning in 1999, and a Caml-list announcement records findlib 1.0 as a compatibility-preserving major release that required OCaml 3.07. The project page describes the package as a convention for storing libraries plus a META file format, with ocamlfind as the tool that interprets those files.

### Historique d'adoption

Camlcity's project page describes Findlib as the de-facto standard for OCaml library management after years of development, with free OCaml software depending on it and distributions such as GODI and Debian ensuring libraries ship META files. opam later became the primary source-based package manager for OCaml, but ocamlfind remained the compatibility layer many build systems and packages use to locate installed libraries inside a switch.

### Modes d'utilisation

Developers invoke ocamlfind as a wrapper around ocamlc, ocamlopt, ocamldep, and related tools, passing package selections such as -package and -linkpkg. Build systems use the same mechanism to query installed packages and translate package-level dependencies into the include paths, archives, C stubs, linker options, and runtime DLL paths expected by the compiler.

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

Findlib matters because it separated OCaml library identity from ad hoc include paths. A package database of META files gave distro packagers, opam packages, and build tools a shared vocabulary before Dune became dominant, and many older OCaml packages still expose findlib names that differ from their opam package names.

### Chronologie

- 1999: The upstream README's copyright range begins, placing Findlib's origin in the late Objective Caml period.
- 2004: The findlib 1.0 announcement described a large but backward-compatible release and added package subpackages.
- 2010s: Findlib became the de-facto OCaml library-management convention documented by Camlcity and used by distributions.
- 2025-02-05: opam published ocamlfind 1.9.8 with build-related fixes.

### Related projects

- opam manages source packages and compiler switches; findlib manages installed library discovery within those environments. Dune can generate and consume package metadata, but ocamlfind remains the historical bridge between installed OCaml libraries and compiler invocations.

### Sources

- <https://github.com/ocaml/ocamlfind>
- <https://github.com/ocaml/ocamlfind/blob/master/doc/README.xml>
- <https://groups.google.com/g/fa.caml/c/SB0v54-klb4>
- <https://man.archlinux.org/man/ocamlfind.1.en>
- <https://opam.ocaml.org/packages/ocamlfind/>
- <https://projects.camlcity.org/projects/findlib.html>


## Notes de sécurité

library-like package without higher-risk signals.

- **Risque Geiger:** vert / faible
- library-like package without higher-risk signals

## Autres enregistrements de gestionnaires de paquets

- Debian apt - ocaml-findlib - 1.9.8-1+b1: normalized package name match | Debian stable package indexes: ocaml-findlib from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | management tool for OCaml libraries | http://projects.camlcity.org/projects/findlib.html
- Ubuntu apt - ocaml-findlib - 1.9.6-1build4: normalized package name match | Ubuntu 24.04 LTS package indexes: ocaml-findlib from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | management tool for OCaml libraries | http://projects.camlcity.org/projects/findlib.html
- apk - ocaml-findlib - 1.9.6-r8: normalized package name match | Alpine Linux edge package indexes: ocaml-findlib from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | OCaml package manager (library) | http://projects.camlcity.org/projects/findlib.html
- apk - ocaml-findlib-dev - 1.9.6-r8: normalized package name match | Alpine Linux edge package indexes: ocaml-findlib-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | OCaml package manager (development files) | http://projects.camlcity.org/projects/findlib.html
- apk - ocaml-findlib-doc - 1.9.6-r8: normalized package name match | Alpine Linux edge package indexes: ocaml-findlib-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | OCaml package manager (documentation) | http://projects.camlcity.org/projects/findlib.html
- apk - ocamlfind - 1.9.6-r8: normalized package name match | Alpine Linux edge package indexes: ocamlfind from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | OCaml package manager | http://projects.camlcity.org/projects/findlib.html
- dnf - ocaml-findlib - 1.9.8-10.fc45: normalized package name match | Fedora Rawhide package metadata: ocaml-findlib from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Objective CAML package manager and build helper | http://projects.camlcity.org/projects/findlib.html
- dnf - ocaml-findlib-devel - 1.9.8-10.fc45: normalized package name match | Fedora Rawhide package metadata: ocaml-findlib-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Development files for ocaml-findlib | http://projects.camlcity.org/projects/findlib.html
- pacman - ocaml-findlib - 1.9.8-7: normalized package name match | Arch Linux sync databases: ocaml-findlib from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | OCaml package manager | http://projects.camlcity.org/projects/findlib.html
- zypper - ocaml-findlib - 1.9.8-1.2: normalized package name match | openSUSE Tumbleweed package metadata: ocaml-findlib from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Objective CAML package manager and build helper | https://opam.ocaml.org/packages/ocamlfind/
- zypper - ocaml-findlib-devel - 1.9.8-1.2: normalized package name match | openSUSE Tumbleweed package metadata: ocaml-findlib-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Development files for ocaml-findlib | https://opam.ocaml.org/packages/ocamlfind/
- MacPorts - ocaml-findlib: normalized package name match | MacPorts ports tree: ocaml/ocaml-findlib/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/ocaml-findlib.yml](https://github.com/mxcl/pkgdb/blob/main/combined/ocaml-findlib.yml)


## Sources

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