Install
Fedora
sudo dnf install ocaml ocaml-findlib opam
Generic Linux
Normally it is recommended to install opam using the following shell script snippet, to get the latest version, etc.
bash -c "sh <(curl -fsSL https://opam.ocaml.org/install.sh)"
You need to have a few dependencies installed though, so make sure to install them as well:
Install
Initialize
NOTE
opam init