<div dir="ltr">Having installed OPAM on many servers (both Debian/Ubuntu and CentOS but expecially CentOS) my advice is to use the binary installer as explained here: <a href="https://opam.ocaml.org/doc/Install.html">https://opam.ocaml.org/doc/Install.html</a><br><br><b>root is not really required</b>, I usually install in an unprivileged user home:<br><br><b><font face="monospace, monospace">$ wget <a href="https://raw.github.com/ocaml/opam/master/shell/opam_installer.sh">https://raw.github.com/ocaml/opam/master/shell/opam_installer.sh</a> -O - | sh -s ~/bin</font></b><br><br><div>All you need is tu put <b><font face="monospace, monospace">~/bin</font></b> in your <b><font face="monospace, monospace">$PATH</font></b>.</div><div><br></div><div>Regards,</div><div class="gmail_extra"><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><i>Paolo</i><br></div></div>
</div></div>