Chapter 2. Using packages

Table of Contents
Listing the installed packages
Looking up package directories
How a package directory looks like
Querying information stored in META files
How to compile and link a program that uses a package
Linker options

Listing the installed packages

You can list which packages are installed by executing

ocamlfind list
You will get a list of names and version numbers. You can get a bit more information by passing the -describe option:
ocamlfind list -describe