This OCaml library is a binding to the NDBM/GDBM Unix "databases" -- more exactly, persistent key-value stores.
See the file dbm.mli
for documentation of the programming inteface.
This library used to be included in the standard OCaml distribution. This is the standalone distribution of this library, with the same functionalities.
- OCaml
- Either the GDBM library or any NDBM-compatible library. Make sure to install the development files as well. For Debian or Ubuntu, install the package
libgdbm-dev
.
-
Run the "configure" script by typing ./configure
-
Build the library: make all
-
Test the library: make test
-
Install the library: sudo make install
In bytecode: ocamlc dbm.cma
In native code: ocamlopt dbm.cmxa
This Library is distributed under the terms of the GNU Library General Public License version 2, with a special exception allowing unconstrained static linking. See file LICENSE for details.