Open jbulow opened 11 months ago
Sorry for the lag. This might be due to an issue with your version of opam, would you mind trying to update to 2.1.5 ?
Could not find any documentation on how to upgrade opam. The latest published version of opam for ubuntu (22.04) is 2.1.2.
Hi. To install the latest release of opam on Ubuntu GNU/Linux, you can do:
sudo apt-get remove opam
curl -fL https://github.com/ocaml/opam/raw/master/shell/install.sh > ./install_opam.sh
sh install_opam.sh
(instructions adapted from https://opam.ocaml.org/doc/Install.html)
Could now run the first part but there is no learn-ocaml binary available to run:
learn-ocaml build serve --repo=./learn-ocaml-corpus
zsh: command not found: learn-ocaml
Maybe some step is missing from the instructions?
Did you setup the opam shell hooks so that your PATH variable is correctly updated ? You can do so with opam init --reinit --enable-shell-hook -i
(and then restart your shell)
Otherwise, you will need to run eval $(opam env)
in your shell every time you enter the learn-ocaml
directory to make the installed program available.
Related user(s):
No response
Related issue(s) or PR(s):
No response
Related project scope(s):
build
Bug description:
Error when installing following instructions:
To reproduce:
Follow instructions on https://discuss.ocaml.org/t/learn-ocaml-1-0-approaching-call-for-testers/13621
Expected behavior:
Working installation
learn-ocaml --version
No response
git describe --long --always --abbrev=40 --tags
No response
What OS do you use?
GNU/Linux
What OS version/distribution do you use?
22.04.3
What browser(s) do you use with learn-ocaml?
Chrome
What browser(s) version did you used to reproduce the issue?
None
Screenshots (if need be):
No response
Additional context:
No response