Problem scenario
You are using RHEL 8.x. You want to install Erlang. What do you do?
Solution
Run these two commands:
curl -Ls https://github.com/rabbitmq/erlang-rpm/releases/download/v22.3.2/erlang-22.3.2-1.el8.x86_64.rpm > /tmp/erlang-22.3.2-1.el8.x86_64.rpm
sudo rpm -i /tmp/erlang-22.3.2-1.el8.x86_64.rpm