Skip to content

Instantly share code, notes, and snippets.

@gabryon99
Created November 24, 2019 19:35
Show Gist options
  • Save gabryon99/7311e26579f3b4204b4f8e5fab73285e to your computer and use it in GitHub Desktop.
Save gabryon99/7311e26579f3b4204b4f8e5fab73285e to your computer and use it in GitHub Desktop.
How to install ocaml-jupyter module in Fedora

This guide is aimed for the people who receive from opam the following message:

~ opam install jupyter
> Sorry, no solution found: there seems to be a problem with your request.

No solution found, exiting...

I solved the problem, in Fedora, executing this commands (uninstalling OCaml, Opam and the other stuff related to):

# Install dependecies
sudo dnf install m4 curl gitr darcs

# Install Opam from source
sh <(curl -sL https://raw.githubusercontent.com/ocaml/opam/master/shell/install.sh)

# Install the latest OCaml compiler (the latest version at the moment of writing is the 4.09.0)
opam init -y --compiler=4.09.0
eval $(opam env) 

# Then update opam
opam update -uy

# Install base packages
opam install -y async core js_of_ocaml js_of_ocaml-ppx merlin utop ocp-indent 

# And finally
opam install jupyter -y

I hope I've been of help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment