slackbuilds/system/opam
Heinz Wiesinger 63daf9f79a All: Support $PRINT_PACKAGE_NAME env var
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
2021-07-17 21:55:09 +02:00
..
README system/opam: Updated for version 2.0.5. 2021-04-17 23:50:34 -05:00
opam.SlackBuild All: Support $PRINT_PACKAGE_NAME env var 2021-07-17 21:55:09 +02:00
opam.info system/opam: Updated for version 2.0.5. 2021-04-17 23:50:34 -05:00
slack-desc

README

opam - OCaml Package Manager

OPAM is a source-based package manager for OCaml. It supports
multiple simultaneous compiler installations, flexible package
constraints, and a Git-friendly development workflow.

Managing your OCaml installation can be as simple as:

  opam list -a       # List the available packages
  opam install lwt   # Install LWT
  opam update        # Update the package list
  ...
  opam upgrade       # Upgrade the installed packages to their latest version


It has to be initialised. To do it, you can use the following command:

  opam init

It is not recommended to run opam as root.
Apparently it rather installs per-user packages.