Closed GemmaG closed 8 years ago
partially fixed, need to address how to install opam 1.2.2 on debian stable (no packages available??) and also bring back CentOS 7...
opam 1.2.2 installs fine on Debian/stable for me:
~ $ docker run -it debian:stable /bin/bash
root@190a13e8b0dc:/# apt-get update
root@190a13e8b0dc:/# apt-get install ca-certificates curl 0install-core --no-install-recommends -y
root@190a13e8b0dc:/# 0install add opam http://tools.ocaml.org/opam.xml
root@190a13e8b0dc:/# opam --version
1.2.2
perfect, thanks @talex5! I'll recommend the use of 0install rather than a longwinded backport approach then.
Install
Requirements
[x] "If you're using Ubuntu/Debian, we recommend you also install the essential build tools (GNU make, etc) and GNU M4 as well as the OCaml toolchain including camlp4:
apt-get install build-essential m4 ocaml ocaml-native-compilers camlp4-extra"
[ ] "On CentOS 6.4, install the system compiler and libraries via:
sudo yum groupinstall "Development Tools" "Development Libraries""
[ ] "On Arch Linux, install the system compiler and libraries via:
sudo pacman -S ocaml camlp4 ocaml-findlib yaourt -S opam"
Using OPAM
"Note that you require OPAM 1.2 or greater to use with MirageOS. Some distribution packages provide earlier versions and must be updated; check with
$ opam --version ## response should be at least 1.2.0, viz. 1.2.0"