How to create your own packages

The findlib User's Guide
Prev |  | Next

# Chapter 6. How to create your own packages

# Installing and removing packages

The ocamlfind command can install and remove packages. For example, to install a package p containing the files META, m1.cmi, m2.cmi, p.cma, run

    ocamlfind install p META m1.cmi m2.cmi p.cma

This installs the files into the default location for new packages (set in ocamlfind.conf). To remove the package, run

    ocamlfind remove p

Note that every package must have a META file, it is not possible to omit it.

Prev | Home | Next
Glue code | Up | Change your Makefile