You need to run opam install core
to get corebuild
.
More generally, you should look at the install instructions here, which will show you which libraries to install. Note that corebuild
is a simple wrapper around ocamlbuild
, and it assumes that you have core
installed, and gives you the option of using it by default.