Skip to content

Instantly share code, notes, and snippets.

@nerpderp83
Created May 15, 2018 11:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nerpderp83/241f4befcd3ddf1d5f9c9b1fa82c5e23 to your computer and use it in GitHub Desktop.
Save nerpderp83/241f4befcd3ddf1d5f9c9b1fa82c5e23 to your computer and use it in GitHub Desktop.
bash-3.2$ brew info ocaml
ocaml: stable 4.06.1 (bottled), HEAD
General purpose programming language in the ML family
https://ocaml.org/
/usr/local/Cellar/ocaml/4.06.1 (1,989 files, 225.8MB) *
Poured from bottle on 2018-04-26 at 20:46:14
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/ocaml.rb
==> Requirements
Optional: x11 ✘
==> Options
--with-flambda
Install with flambda support
--with-x11
Install with the Graphics module
--HEAD
Install HEAD version
bash-3.2$ brew info opam
opam: stable 1.2.2 (bottled), HEAD
Package manager for OCaml
https://opam.ocaml.org
/usr/local/Cellar/opam/1.2.2_4 (31 files, 16.3MB) *
Poured from bottle on 2018-04-26 at 20:46:55
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/opam.rb
==> Dependencies
Recommended: ocaml ✔, camlp4 ✔, aspcud ✔
==> Options
--without-aspcud
Build without aspcud support
--without-camlp4
Build without camlp4 support
--without-ocaml
Build without ocaml support
--HEAD
Install HEAD version
==> Caveats
OPAM uses ~/.opam by default for its package database, so you need to
initialize it first by running (as a normal user):
$ opam init
Run the following to initialize your environment variables:
$ eval `opam config env`
To export the needed variables every time, add them to your dotfiles.
* On Bash, add them to `~/.bash_profile`.
* On Zsh, add them to `~/.zprofile` or `~/.zshrc` instead.
Documentation and tutorials are available at https://opam.ocaml.org, or
via "man opam" and "opam --help".
Bash completion has been installed to:
/usr/local/etc/bash_completion.d
zsh completions have been installed to:
/usr/local/share/zsh/site-functions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment