New community-maintained OTP builds for macOS

Hey everyone, I’m happy to announce GitHub - erlef/otp_builds: Community-maintained pre-compiled Erlang/OTP for macOS..

Example:

$ url=https://github.com/erlef/otp_builds/releases/download/OTP-27.1.2/otp-aarch64-apple-darwin.tar.gz
$ dir=/tmp/otp
$ mkdir $dir ; tar xzf <(curl -fL $url) -C $dir
$ $dir/bin/erl
Erlang/OTP 27 [erts-15.1.2] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] [jit]

Eshell V15.1.2 (press Ctrl+G to abort, type help(). for help)
1>

The goal of the builds is to be as self-contained as possible, i.e. you don’t need to install homebrew, openssl, wxwidgets, etc, it should just work out of the box.

We even have builds for Erlang/OTP master: https://github.com/erlef/otp_builds/releases/download/master-latest/otp-aarch64-apple-darwin.tar.gz.

See GitHub - erlef/otp_builds: Community-maintained pre-compiled Erlang/OTP for macOS. for more information.

Happy downloading!

60 Likes

Cool!

Is the plan to eventually move all pre-compiled OTP builds here, as opposed to just those for MacOS? This would simplify various version management tooling such that it wouldn’t have to choose between this and Hex Bob.

1 Like

Yes, I plan to move Bob Ubuntu builds to that repository eventually.

6 Likes

Hi @wojtekmach,

Thank you for the project, it can definitively smooth things to get Erlang up and running on macOS.

I had a question, do you have any recommendations where to install Erlang on macOS? The example you provided is using /tmp but I suspect it can’t be a definitive location.

Thank you.

1 Like

No particular recommendation, I personally like to put stuff like that into ~/opt/thing that mirrors /opt/thing.

Btw and it is not publicized yet but there’s a new Elixir installation method using these precompiled macOS, check out Installing Elixir - The Elixir programming language. The directory it installs them to is ~/.elixir-install/installs.

7 Likes

Hi,

I created erl_install.sh to install community-maintained OTP builds for macOS with verification:

5 Likes