Command-line tool
ocaml-findlib
brew/ocaml-findlib
Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev
OCaml library manager
At a glance
- Type
- Command-line tool
- Install on
- macOS, Linux
- Last checked
- 25 Oct 2026, 21:09 UTC
Install it
macOS
brew install ocaml-findlib
Linux
brew install ocaml-findlib
Compile a source file to a native binary and link with packages
ocamlfind ocamlopt -package package1,package2,... -linkpkg -o path/to/executable path/to/source.ml
Compile a source file to a bytecode binary and link with packages
ocamlfind ocamlc -package package1,package2,... -linkpkg -o path/to/executable path/to/source.ml
Cross-compile for a different platform
ocamlfind -toolchain cross-toolchain ocamlopt -o path/to/executable path/to/source.ml
Related command-line tools
- opam
OCaml package manager foss open-source package-manager dependency-manager ocaml - ocaml
General purpose programming language in the ML family programming foss open-source language ocaml - steam-library-manager
An utility to manage your Steam and Origin libraries in ease of use with multi library support. - ocamlbuild
Generic build tool for OCaml - menhir
LR(1) parser generator for the OCaml programming language - camlp5
Preprocessor and pretty-printer for OCaml - yacreader
A comic reader and manager - dune
Composable build system for OCaml
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents