[opam-devel] ocaml on centos 6.5

Thomas Gazagnaire thomas at gazagnaire.org
Thu May 22 12:27:00 BST 2014


> Meanwhile, this "recipe" works:
> on an Ubuntu 14.04 LTS, with a working OPAM/OCaml, I switched to 4.01.0+musl+static, cloned OPAM repo, configure && make
> 
> the opam binary runs on the CentOS 6.5 without modifications, just copy ( https://db.tt/mdrkvrPL );
> 
> yum install ocaml ocaml-camlp4 (Red Hat stock repository, OCaml 3.11.2)
> 
> opam switch 4.01.0 (compiles the new compiler without problems);

Normally, you should be able to skip steps 3, 5 and 6 by doing: 

$ opam init --comp=4.01.0

--
Thomas



> 
> opam switch remove system
> 
> yum remove ocaml ocaml-camlp4 ocaml-runtime
> 
> et voilà!
> 
> 
> -- 
> Paolo
> _______________________________________________
> opam-devel mailing list
> opam-devel at lists.ocaml.org
> http://lists.ocaml.org/listinfo/opam-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ocaml.org/pipermail/opam-devel/attachments/20140522/61063c1a/attachment.html>


More information about the opam-devel mailing list