opam 2.1.2
We are pleased to announce the minor release of opam 2.1.2.
This opam release consists of backported fixes, including:
- Fallback on
dnf
ifyum
does not exist on RHEL-based systems (#4825) - Use
--no-depexts
in CLI 2.0 mode. This further improves the use of opam 2.1 as a drop-in replacement for opam 2.0 in CI, for example with setup-ocaml in GitHub Actions. (#4908)
Opam installation instructions (unchanged):
-
From binaries: run
bash -c "sh <(curl -fsSL https://opam.ocaml.org/install.sh) --version 2.1.2"
or download manually from the GitHub "Releases" page to your PATH. In this case, don't forget to run
opam init --reinit -ni
to enable sandboxing if you had version 2.0.0~rc manually installed or to update you sandbox script. -
From source, using opam:
opam update; opam install opam-devel
(then copy the opam binary to your PATH as explained, and don't forget to run
opam init --reinit -ni
to enable sandboxing if you had version 2.0.0~rc manually installed or to update your sandbox script) -
From source, manually: see the instructions in the README.
We hope you enjoy this new minor version, and remain open to bug reports and suggestions.
See full changelog
- Fallback on dnf if yum does not exist on RHEL-based systems [#4825 @kit-ty-kate]
- Use --no-depexts in CLI 2.0 mode [#4908 @dra27]
- bootstrap: update ocaml version (fixes the compilation of opam with mingw) [#4927 @kit-ty-kate]