Building Erlang/OTP

9 Jan 2023 18:06 erlang

There’s more comprehensive information in various files in the HOWTO directory, but ain’t nobody got time for that. This works for me.

Building it

export LANG=C
export ERL_TOP="$(pwd)"
./otp_build configure && make -j$(nproc)

Using it

You can sometimes get away with using it directly:

export PATH="$ERL_TOP/bin:$PATH"

Installing it

But, more often, you’ll need to install it:

make install

…and you can use it from there:

export PATH="$ERL_TOP/install/bin:$PATH"