编译Unison 2.48.4 Manjaro上的OCAML版本4.08.1构建
我需要使用特定OCAML版本编译的特定Unison版本与Ubuntu Server 20.04 LTS上的Unison软件包一起使用。 我需要Unison 2.48.4使用OCAML版本4.08.1构建。 AUR中的软件包似乎是使用另一个OCAML版本构建的,在我的情况下无法使用。
在Manjaro的存储库中,仅Unison 2.52和OCAML版本4.13.1可用,目前已安装在我的系统上。
有人可以为我提供新手Dummy指南如何使用两个程序的特定版本安装和构建?我从哪里获取源文件?
非常感谢。
I need a specific unison version compilied with a specific OCaml version to work together with the unison package on Ubuntu Server 20.04 LTS.
I need unison 2.48.4 build with OCaml version 4.08.1. The package in AUR seems to be build with another OCaml version and cannot be used in my case.
In the repositories of Manjaro only unison 2.52 and OCaml version 4.13.1 are available and currently installed on my system.
Can somebody give me newbie-dummy guide how to install and build with specific versions of both programs? And where I get the source files from?
Thank you very much.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您应该通过 opam )在安装OPAM后通过
OPAM安装之前(不要忘记
opam Init
),您可以安装编译器版本(在默认开关中),您可以使用
而且您甚至可以使用本地开关来创建一个本地开关,
以便在您的情况下
,或者
如果要安装软件包的特定版本,
You should install OCaml through opam (if you already have an OCaml installation, delete it completely before installing through opam)
Once you have opam installed (don't forget to
opam init
), you can install the compiler version (in the default switch) you want withYou can list all the available compilers with
And you can even create a local switch with
So in your case it would be
or
Then if you want to install a specific version of a package just do