Debian OCaml Packaging Policy for OCaml 3.10.2 | ||
---|---|---|
Prev | Chapter 1. Generalities about OCaml packages in Debian | Next |
Locally installed files are files that are installed directly by the system administrator, in contrast to files installed through Debian packages. 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, a local system administrator should follow these 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.2/stublibs/
Basically, every other file should be installed in /usr/local/lib/ocaml/3.10.2/. 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 |