$ sudo dnf install erlang
or follow these instructions.
Download rebar3 script and follow these instructions.
For some reason, it may be practical to make rebar3
global:
$ sudo cp ~/.cache/rebar3/bin/rebar3 /usr/local/bin
$ rebar3 new lib bech
$ rebar3 compile
$ rebar3 eunit