Debian OCaml Packaging Policy for OCaml 3.10.0 | ||
---|---|---|
Prev | Chapter 1. Generalities about OCaml packages in Debian | Next |
Installation and use of locally installed OCaml related programs is out of the scope of this document. However, in order to have it work with a standard Debian installation, you should follow some guidelines.
Executable files should be installed in /usr/local/bin.
Shared libraries (for C bindings) should be installed in /usr/local/lib/ocaml/3.10.0/stublibs/
Basically, every other file should be installed in /usr/local/lib/ocaml/3.10.0/. This includes in particular bytecode libraries (*.cma), native libraries (*.cmxa), bytecode object files (*.cmo), native object files (*.cmx), static libraries (*.a) and META files.
The default configuration of ocamlfind (the OCaml library manager recommended in Debian) first looks for a local installation of libraries and then for libraries installed by Debian packages. The next section describes the standard paths for files contained in Debian packages.
![]() |
The |