Thu, 11 Sep 2014 08:56:37 +0000 Comments to “Installing OPAM 1.1.1 on a CentOS 6.5” Paolo Donadeo's personal Internet site and blog https://www.donadeo.net/post/2014/installing-opam-1-1-1-on-a-cenos-6-5 p.donadeo@gmail.com (Paolo Donadeo) By: Török Edwin https://www.donadeo.net/post/2014/installing-opam-1-1-1-on-a-cenos-6-5#comment-1929 https://www.donadeo.net/post/2014/installing-opam-1-1-1-on-a-cenos-6-5#comment-1929 Thu, 22 May 2014 08:57:03 +0000 Török Edwin <div><p>Try this on Debian (or Fedora/some other distro with new enough OCaml):</p><p>* install opam</p><p>* opam switch 4.01.0+musl+static </p><p>* eval `opam config env`</p><p>* configure and compile opam from sources</p><p>* you should now have a fully statically linked opam binary that you can copy to old distributions (within some sane limits, I think some 2.6.32 kernel is required)</p><p>Note: you can't create a fully statically linked binary with (e)glibc</p><p>due to gethostbyname/etc. requiring matching glibc version at runtime (there is a linker warning about that).</p><p>Another possibility is to try the LSB SDK and 4.01.0+lsb.</p></div> By: Paolo Donadeo https://www.donadeo.net/post/2014/installing-opam-1-1-1-on-a-cenos-6-5#comment-1930 https://www.donadeo.net/post/2014/installing-opam-1-1-1-on-a-cenos-6-5#comment-1930 Thu, 22 May 2014 09:25:39 +0000 Paolo Donadeo <div><p>Thanks Török, I'll try out your recipe ASAP on my Ubuntu box at home.</p></div> By: Paolo Donadeo https://www.donadeo.net/post/2014/installing-opam-1-1-1-on-a-cenos-6-5#comment-1931 https://www.donadeo.net/post/2014/installing-opam-1-1-1-on-a-cenos-6-5#comment-1931 Thu, 22 May 2014 10:47:34 +0000 Paolo Donadeo <div><p>Török, confirmed, it works!</p></div> By: Pierre-Alain https://www.donadeo.net/post/2014/installing-opam-1-1-1-on-a-cenos-6-5#comment-1935 https://www.donadeo.net/post/2014/installing-opam-1-1-1-on-a-cenos-6-5#comment-1935 Sat, 24 May 2014 18:23:56 +0000 Pierre-Alain <div><p>Hi, </p><p>I have found this :</p><p>wget https://nazar.karan.org/results/misc/ocaml/20130319164433/4.00.1-2.el6.x86_64/ocaml-4.00.1-2.el6.centos.alt.x86_64.rpm</p><p>wget https://nazar.karan.org/results/misc/ocaml/20130319164433/4.00.1-2.el6.x86_64/ocaml-camlp4-4.00.1-2.el6.centos.alt.x86_64.rpm</p><p>wget https://nazar.karan.org/results/misc/ocaml/20130319164433/4.00.1-2.el6.x86_64/ocaml-camlp4-devel-4.00.1-2.el6.centos.alt.x86_64.rpm</p><p>wget https://nazar.karan.org/results/misc/ocaml/20130319164433/4.00.1-2.el6.x86_64/ocaml-compiler-libs-4.00.1-2.el6.centos.alt.x86_64.rpm</p><p>wget https://nazar.karan.org/results/misc/ocaml/20130319164433/4.00.1-2.el6.x86_64/ocaml-debuginfo-4.00.1-2.el6.centos.alt.x86_64.rpm</p><p>wget https://nazar.karan.org/results/misc/ocaml/20130319164433/4.00.1-2.el6.x86_64/ocaml-docs-4.00.1-2.el6.centos.alt.x86_64.rpm</p><p>wget https://nazar.karan.org/results/misc/ocaml/20130319164433/4.00.1-2.el6.x86_64/ocaml-ocamldoc-4.00.1-2.el6.centos.alt.x86_64.rpm</p><p>wget https://nazar.karan.org/results/misc/ocaml/20130319164433/4.00.1-2.el6.x86_64/ocaml-runtime-4.00.1-2.el6.centos.alt.x86_64.rpm</p><p>wget https://nazar.karan.org/results/misc/ocaml/20130319164433/4.00.1-2.el6.x86_64/ocaml-source-4.00.1-2.el6.centos.alt.x86_64.rpm</p><p>rpm -i --replacepkgs =*.rpm</p><p>Then : </p><p>wget https://github.com/OCamlPro/opam/archive/latest.tar.gz -O opam-latest.tgz</p><p>tar -xf opam-latest.tgz</p><p>cd opam-latest</p><p>./configure</p><p>make</p><p>make install</p><p>Regards,</p></div> By: Anil Madhavapeddy https://www.donadeo.net/post/2014/installing-opam-1-1-1-on-a-cenos-6-5#comment-1946 https://www.donadeo.net/post/2014/installing-opam-1-1-1-on-a-cenos-6-5#comment-1946 Thu, 11 Sep 2014 08:56:37 +0000 Anil Madhavapeddy <div><p>Another update: we now have OPAM binary packages available for CentOS thanks to the OpenSUSE Build Service:</p><p>https://software.opensuse.org/download.html?project=home%3Aocaml&package=opam</p></div>