mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-14 21:56:41 +01:00
20 lines
657 B
Text
20 lines
657 B
Text
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 installed packages to their latest version
|
|
|
|
|
|
It has to be initialized. To do it, you can use the following command:
|
|
opam init
|
|
|
|
It is not recommended to run opam as root. Apparently it installs
|
|
per-user packages.
|