aboutsummaryrefslogtreecommitdiff
path: root/system/opam/README
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2019-10-07 09:42:28 +0200
committerRobby Workman <rworkman@slackbuilds.org>2021-04-17 23:50:34 -0500
commit4663fa4b7283b1b2ced0a019bcb81501d4e0f867 (patch)
tree6dabebddbab7cb4a4599e2bb1e7455e4b4d7863b /system/opam/README
parent94d4a91001cb220e68110dbc61c32bab26a1ba80 (diff)
system/opam: Updated for version 2.0.5.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'system/opam/README')
-rw-r--r--system/opam/README13
1 files changed, 7 insertions, 6 deletions
diff --git a/system/opam/README b/system/opam/README
index 9257895cd03c..36b3e185fc09 100644
--- a/system/opam/README
+++ b/system/opam/README
@@ -6,15 +6,16 @@ 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
+ 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
+
+ opam init
It is not recommended to run opam as root.
Apparently it rather installs per-user packages.