system/opam: Fix README.

This commit is contained in:
B. Watson 2016-11-14 14:49:42 -05:00 committed by Willy Sudiarto Raharjo
parent 2882f94b2b
commit 333d6e5f89
No known key found for this signature in database
GPG key ID: 887B8374D7333381

View file

@ -1,20 +1,20 @@
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.
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 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
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 from root. Apparently it installs per-user packages.
It is not recommended to run opam as root. Apparently it installs
per-user packages.