{"id":20135852,"url":"https://github.com/hcarty/ocamlbrew","last_synced_at":"2025-04-09T17:33:39.210Z","repository":{"id":2100850,"uuid":"3041889","full_name":"hcarty/ocamlbrew","owner":"hcarty","description":"Manage OCaml installations in your $HOME","archived":false,"fork":false,"pushed_at":"2017-09-24T23:06:29.000Z","size":57,"stargazers_count":69,"open_issues_count":5,"forks_count":12,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-03-23T19:39:15.216Z","etag":null,"topics":["ocaml"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hcarty.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-12-23T19:17:26.000Z","updated_at":"2024-12-24T04:17:22.000Z","dependencies_parsed_at":"2022-09-16T01:34:29.530Z","dependency_job_id":null,"html_url":"https://github.com/hcarty/ocamlbrew","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hcarty%2Focamlbrew","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hcarty%2Focamlbrew/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hcarty%2Focamlbrew/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hcarty%2Focamlbrew/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hcarty","download_url":"https://codeload.github.com/hcarty/ocamlbrew/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248077695,"owners_count":21044008,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ocaml"],"created_at":"2024-11-13T21:16:45.181Z","updated_at":"2025-04-09T17:33:38.881Z","avatar_url":"https://github.com/hcarty.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"## ocamlbrew - A tool for managing OCaml installations in $HOME\n\nocamlbrew aims to be a simple tool for getting up and running with various\nversions of [OCaml][].  The concept, along with some basic code, is borrowed\nfrom [perlbrew][].\n\n### Requirements\n\n* bash\n* OCaml's build requirements\n* Any non-OCaml dependencies required by other software selected for\n  installation.\n  * To fetch all depedencies coming from a fresh Ubuntu 12.04 installation:\n    * `sudo apt-get install curl m4`\n      * `curl` is for fetching files\n      * `m4` is required by [findlib][]\n  * BSD systems may require GNU make.  Use the `$OCAMLBREW_MAKE` environment\n    variable to specify the correct `make` or `gmake` executable to use.\n\n### Usage:\n\n#### Getting started\n\nUsing ocamlbrew is very easy.  In its most basic form, ocamlbrew can run in a\ncompletely automated fashion:\n\n    curl -kL https://raw.github.com/hcarty/ocamlbrew/master/ocamlbrew-install | bash\n\nSee `RECIPES.md` for more installation options.\n\nocamlbrew will print the name of the log file where compilation output is being\ndirected.  This can be watched to track build progress and/or used for\ntroubleshooting in case one of the build steps fails.\n\n#### Configurable environment variables\n\nocamlbrew can be configured with several environment variables.\n\n* `$OCAMLBREW_BASE`\n  The most important is `$OCAMLBREW_BASE` which defines the directory under\n  which all software built and installed by ocamlbrew will reside.\n  `$OCAMLBREW_BASE` defaults to `$HOME/ocamlbrew`.\n* `$OCAMLBREW_LOGFILE`\n  Output from the build process will be directed to this file.  This defaults\n  to a randomly named file under `$TMPDIR` if defined or `/tmp` otherwise.\n* `$OCAMLBREW_FLAGS`\n  This is only for installations which do not involve downloading ocamlbrew\n  locally.  This variable specifies which flags to pass to `ocamlbrew`.\n  `$OCAMLBREW_FLAGS` defaults to `-a`.\n\n#### Available command line flags\n    -h              Display this message\n    -b [path]       Use [path] as $OCAMLBREW_BASE\n    -v [version]    Install the given version of OCaml (i.e. 4.00.1)\n    -c \"[flags]\"    Flags to pass to OCaml's configure\n    -p [patch]      Patch to apply to OCaml\n    -a              Install everything with no prompts\n    -o              Install OCaml, no prompts\n    -f              Install OCaml and findlib, no prompts\n    -r              Install OCaml, findlib, and opam, no prompts\n    -x              Install OCaml, findlib, opam, and oasis (via opam), no prompts\n    -s [path]       Install OCaml from Subversion [path]\n    -g [url]        Install OCaml from Git [url]\n    -G [revision]   Checkout Git [revision] before build\n    -t              Install OCaml from Subversion trunk\n    -n [name]       Install under $OCAMLBREW_BASE/[name]\n\nThe build and installation will occur under `$OCAMLBREW_BASE`\nSubversion paths should be relative to `http://caml.inria.fr/svn/ocaml/`\n\n#### After installation\n\nocamlbrew will provide instructions on how to setup the newly\ninstalled OCaml environment once all build and installation steps are\ncomplete.  After following those instructions, depending on the\noptions selected at ocamlbrew startup, the [OCaml][] toolchain,\n[ocamlfind][findlib], [opam][], [oasis][], [utop][], and\n[ocamlscript][] will be available from the shell environment.\n\n### License\n\nocamlbrew is distributed under the MIT license.  See LICENSE for details.\n\n[OCaml]: http://caml.inria.fr/ocaml/release.en.html\n[findlib]: http://projects.camlcity.org/projects/findlib.html\n[oasis]: http://oasis.forge.ocamlcore.org/\n[opam]: http://opam.ocamlpro.com/\n[Batteries]: http://batteries.forge.ocamlcore.org/\n[React]: http://erratique.ch/software/react\n[Lwt]: http://ocsigen.org/lwt/\n[utop]: http://forge.ocamlcore.org/projects/utop/\n[ocamlscript]: http://martin.jambon.free.fr/ocamlscript.html\n[perlbrew]: http://search.cpan.org/~gugod/App-perlbrew/bin/perlbrew\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhcarty%2Focamlbrew","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhcarty%2Focamlbrew","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhcarty%2Focamlbrew/lists"}