Skip to content

build ocaml 4.11 on CentOS 7 #5359

Answered by dra27
bchill asked this question in Q&A
Discussion options

You must be logged in to vote

Depends on your definition of simple 🙂 Strictly answer your question: compiling OCaml on CentOS 7 is simple, yes. You'll need gcc and make, then it's just ./configure --prefix /where/to/install/ocaml && make -j && make install. However, compiling Unison's dependencies will be a lot more (unnecessary) work.

Why do you want to avoid opam? opam can either be downloaded as a binary for CentOS, or compiled from cold (running make cold from a git clone will give you an opam binary which you can then install to /usr/local/bin, etc.).

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by rjbou
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants