Opam
Opam is "a source-based package manager for OCaml. It supports multiple simultaneous compiler installations, flexible package constraints, and a Git-friendly development workflow" [1].
Here is some usefull commands:
- Opam allows you to manage several version of ocaml compiler version.
- For creating new "switch" (your branch of several compiler versions) with certaing version use
> opam switch create ocaml.your_version
- For checking all of your "switches" try
> opam switch list # switch compiler description awesome_name ocaml-base-compiler.num description → default ocaml.4.11.2 default
- For creating new "switch" (your branch of several compiler versions) with certaing version use
- Other key features of opam package manager are installing and managing ocaml/coq package (coq is lib too):
-
If you want install,uninstall published package try respectively:
> opam install awesome_package.version
> opam uninstall awesome_package.version
-
If you want install,uninstall unpublished/local package try respectively:
> cd awesome/package/folder
> opam install .
> opam uninstall .
-
For watching already installed packages try:
> opam list # Name # Installed # Synopsis atd 2.10.0 Parser for ... ...
-