summaryrefslogtreecommitdiffstats
path: root/system/opam/README
diff options
context:
space:
mode:
author Matteo Bernardini2021-04-10 17:02:43 +0200
committer Matteo Bernardini2021-04-10 17:02:43 +0200
commit97e000b8ce16626a160e2196627fb0c884dbcfbf (patch)
treec8bf51d3d2d2b60a4ca906996a8c17ed9cb3ffb9 /system/opam/README
parentcf65c072371dbcb73b7ea6d75de27bb6b96899f7 (diff)
downloadslackbuilds-current-20210410.1.tar.gz
20210410.1 global branch merge.current-20210410.1
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 9257895cd0..36b3e185fc 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.