I have been trying to set up OCaml, OPAM, related libraries and UTOP on Ubuntu 14.04 based on instructions from Real World OCaml. I have currently managed to install OCaml compilers and OPAM. However, when trying to install core and UTOP, I get the following errors:
[ERROR] core is not a valid versioned package name
'opam install core utop' failed.
and
[ERROR] utop is not a valid versioned package name
'opam install utop' failed.
I'd greatly appreciate it if someone could provide suggestions as to what the issue is and how to tackle it.
Thanks!
EDIT: Based on feedback, I have included more details about the installation. I installed OPAM 1.1.1. The last commands performed in the installation was
opam switch 4.03.0
which compiled that version for me, and then
eval 'opam config env'
However, I am still unable to install core and utop because they are apparently not valid versioned package names.