Error: No Package Erlang Available
Trying to install Erlang on CentOS 7? Watch out for this error. Here's how to get past it.
Join the DZone community and get the full member experience.Join For Free
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.
Published at DZone with permission of Alex Theedom, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.