Chapter 6. How to create your own packages

Table of Contents
Installing and removing packages
Change your Makefile
Using the Makefile wizard

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.