# ocaml-findlib を Homebrew, apk, apt, dnf, MacPorts, pacman, zypper でインストール

ocaml-findlib のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

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

追加のインストールコマンド:

### macOS

- Homebrew (100%):

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

  証拠: local Homebrew formula metadata

- MacPorts (94%):

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

  証拠: 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
```

  証拠: 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
```

  証拠: 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
```

  証拠: 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
```

  証拠: 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
```

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

## パッケージ情報

- **パッケージキー:** brew:ocaml-findlib
- **パッケージマネージャ:** Homebrew
- **バージョン:** 1.9.8
- **ソース概要:** OCaml library manager
- **ホームページ:** <http://projects.camlcity.org/projects/findlib.html>
- **リポジトリ:** <https://github.com/ocaml/ocamlfind>
- **最終更新:** 2026-07-13T05:11:30Z
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- ocamlfind (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 1.9.8
## プロジェクトの歴史と使われ方

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.

### プロジェクトの歴史

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.

### 採用の歴史

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.

### 使われ方

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.

### パッケージ好きにとっての重要性

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.

### タイムライン

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

### ソース

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


## セキュリティノート

library-like package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- library-like package without higher-risk signals

## 他のパッケージマネージャ記録

- 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)


## ソース

- 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
