Skip to content

Instantly share code, notes, and snippets.

@jdh30
Last active September 28, 2024 10:30
Show Gist options
  • Save jdh30/e7ed5d501f1446d6bd6d76d6578dafdf to your computer and use it in GitHub Desktop.
Save jdh30/e7ed5d501f1446d6bd6d76d6578dafdf to your computer and use it in GitHub Desktop.
Script to install and initialize OCaml for microservice development (TCP+HTTP+JSON) on an Ubuntu Linux box (e.g. in Amazon's AWS Cloud)
sudo apt-get update
sudo apt-get install opam elpa-tuareg make m4 gcc zip aspcud emacs libssl-dev ncurses-dev pkg-config libffi-dev bubblewrap linux-tools-common linux-tools-aws
opam init
eval $(opam env --switch=default)
opam install ocamlfind core async async_ssl cohttp yojson ppx_deriving ocp-indent merlin cohttp-async ocamlformat utop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment