我最近开始学习 OCaml,并想安装沙丘构建工具。我用过opam install dune
,然后按照这里的说明进行操作。但是,在运行时dune build hello_world.exe
,我收到以下错误:
The program 'dune' is currently not installed. You can install it by typing:
sudo apt install whitedune
apt search whitedune
告诉我这与我想要的沙丘无关。
我仔细检查了沙丘是否已安装并重新运行opam install dune
,以获取消息:
[NOTE] Package dune is already installed (current version is 1.2.1).
运行opam remove dune
and后opam install dune
,问题依旧。
我正在运行 Elementary OS 0.4.1 Loki。
谢谢!