ocaml_管理OCaml软件包的好工具

ocaml

Which tools to mange OCaml packages in my system (Linux)?

哪些工具可以管理我的系统( Linux )中的OCaml软件包?

I use OPAM to manage OCaml packages: http://opam.ocamlpro.com/index.html

我使用OPAM管理OCaml软件包: http ://opam.ocamlpro.com/index.html

To install it:

要安装它:

$ wgethttps://raw.githubusercontent.com/ocaml/opam/master/shell/opam_installer.sh
$ sh ./opam_installer.sh /usr/local/bin

More options are available here.

这里有更多选项。

To make opam settings take effect, append this to ~/.bashrc:

要使opam设置生效,请将其附加到~/.bashrc

eval `opam config env`

Some frequent usages:

一些常用用法:

opam list               # List all available packages
opam search QUERY       # List packages with QUERY in their name or description
opam info PACKAGE       # Display information about PACKAGE

opam update             # Update the packages database

opam install PACKAGE    # Download, build and install the latest version of PACKAGE

More usages are available here.

这里有更多用法。

Answered by anonymous.
匿名回答。


Another good tools is GODI: http://godi.camlcity.org/godi/index.html

另一个好的工具是GODI: http ://godi.camlcity.org/godi/index.html



A tip I find to reinstall OCaml again found after I deleted the ~/.opam directory by accident:

我偶然删除~/.opam目录后发现重新安装OCaml的提示:

Initialize your opam profile:

初始化您的opam个人资料:

opam init

Install OCaml (note: NOT by opam install):

安装OCaml(注意:不是通过opam install ):

opam switch 4.00.1

You can check all available versions of OCaml by:

您可以通过以下方式检查OCaml的所有可用版本:

opam switch


On Ubuntu/Linux Mint, you can install opam from the repository:

在Ubuntu / Linux Mint上,您可以从存储库安装opam:

$ sudo aptitude install opam


Another option is GODI:

另一个选择是GODI

It can be downloaded and installed following the tutorial here: http://godi.camlcity.org/godi/get_godi.html

可以按照此处的教程下载和安装: http : //godi.camlcity.org/godi/get_godi.html



Sadly, GODI is to be shutdown in September 2013. Check the announcement by Gerd Stolpmann: http://blog.camlcity.org/blog/godi_shutdown.html

不幸的是,GODI将于2013年9月关闭。请查看Gerd Stolpmann的公告: http : //blog.camlcity.org/blog/godi_shutdown.html

翻译自: https://www.systutorials.com/good-tools-to-manage-ocaml-packages/

ocaml

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值