-
-
Save eahydra/17eb326ad4873dfcb2b9ff9c3203a2f5 to your computer and use it in GitHub Desktop.
Script to install and initialize OCaml for microservice development (TCP+HTTP+JSON) on a Linux box
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get update | |
sudo apt-get install make m4 gcc zip aspcud emacs libssl-dev ncurses-dev pkg-config tuareg-mode libffi-dev | |
wget https://raw.github.com/ocaml/opam/master/shell/opam_installer.sh -O - | sh -s /usr/local/bin | |
eval `opam config env` | |
opam update | |
opam switch 4.03.0 | |
opam install user-setup | |
opam install ocamlfind core async async_ssl cohttp yojson ppx_deriving ocp-indent merlin | |
opam install user-setup | |
opam user-setup install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment