如何在ocaml中安装corebuild
我已经安装了如何在ocaml中安装corebuild,ocaml,opam,Ocaml,Opam,我已经安装了opam,之后我可以成功访问ocaml,ocamlc,buildocaml 但我正在读一篇文章,它要求我运行一个名为corebuild的工具 我无法安装(或运行)corebuild 如果我搜索sudo find/-name corebuild…我可以看到如下文件 /home/abhishek/.opam/repo/default/packages/core/core.109.38.00/files/corebuild /home/abhishek/.opam/repo/defau
opam
,之后我可以成功访问ocaml
,ocamlc
,buildocaml
但我正在读一篇文章,它要求我运行一个名为corebuild
的工具
我无法安装(或运行)corebuild
如果我搜索sudo find/-name corebuild…
我可以看到如下文件
/home/abhishek/.opam/repo/default/packages/core/core.109.38.00/files/corebuild
/home/abhishek/.opam/repo/default/packages/core/core.109.42.00/files/corebuild
/home/abhishek/.opam/repo/default/packages/core/core.109.35.00/files/corebuild
/home/abhishek/.opam/repo/default/packages/core/core.109.34.00/files/corebuild
/home/abhishek/.opam/repo/default/packages/core/core.109.47.00/files/corebuild
/home/abhishek/.opam/repo/default/packages/core/core.109.41.00/files/corebuild
/home/abhishek/.opam/repo/default/packages/core/core.109.32.00/files/corebuild
/home/abhishek/.opam/repo/default/packages/core/core.109.37.00/files/corebuild
/home/abhishek/.opam/repo/default/packages/core/core.109.45.00/files/corebuild
/home/abhishek/.opam/repo/default/packages/core/core.109.36.00/files/corebuild
/home/abhishek/.opam/repo/default/packages/core/core.109.40.00/files/corebuild
但是我仍然不知道如何运行这个工具。您需要运行
opam install core
才能获得corebuild
一般来说,您应该查看安装说明,其中将显示要安装的库。请注意,corebuild
是ocamlbuild
的一个简单包装器,它假设您已经安装了core
,并在默认情况下为您提供了使用它的选项