diff options
author | Matteo Bernardini | 2019-10-08 10:01:48 +0200 |
---|---|---|
committer | Matteo Bernardini | 2019-10-08 10:01:48 +0200 |
commit | c632835a841a449db663e3b03c0fa73672b56557 (patch) | |
tree | 221df3fbfe8006acb271b605e70b498e9eb7bade /system/opam/README | |
parent | 0f41388fbdebf3a7e930962dd49fd0a2ee704fae (diff) | |
download | slackbuilds-current-20191008.1.tar.gz |
20191008.1 global branch merge.current-20191008.1
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'system/opam/README')
-rw-r--r-- | system/opam/README | 13 |
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. |