You are not logged in.

#1 2022-12-17 10:07:54

Divine Bicycle
Member
Registered: 2022-12-17
Posts: 2

Recommended way of installing Dune and other tools (OCaml)

What's the recommended way to install Dune and other OCaml tools such as the OCaml lsp, etc, I see there's a package for Dune in the community repo, but on the OCaml website it recommends installing all the tools through opam as follows:

opam install dune merlin ocaml-lsp-server odoc ocamlformat utop dune-release

.

Is the usual way on Arch to use opam or pacman? Thanks in advance.

Offline

#2 2022-12-18 10:34:09

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 10,638

Re: Recommended way of installing Dune and other tools (OCaml)

man opam wrote:

Everything is installed within a local opam directory, that can include multiple installation prefixes with different sets of intalled packages.

If you want systemwide installs of those tools, use pacman .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#3 2022-12-18 11:33:49

Divine Bicycle
Member
Registered: 2022-12-17
Posts: 2

Re: Recommended way of installing Dune and other tools (OCaml)

I see, I will use opam then as it seems to be what the developers of Dune recommend.

Offline

Board footer

Powered by FluxBB