If you are trying to install Erlang on CentOS/7 you might be presented with the following errors:
These errors mean you don’t have the updated RHEL EPEL Repo from which to fetch Erlang builds. You need to update your repo as follows:
[vagrant@localhost /]$ sudo wget https://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-6.noarch.rpm [vagrant@localhost /]$ sudo wget http://rpms.famillecollet.com/enterprise/remi-release-7.rpm [vagrant@localhost /]$ sudo rpm -Uvh remi-release-7*.rpm epel-release-7*.rpm
Retry installing Erlang.
[vagrant@localhost /]$ sudo yum install -y erlang
For centos 5 and 6 visit this blog post.