Hot Posts

Error: No package erlang available.

Java EE

If you are trying to install Erlang on CentOS/7 you might be presented with the following errors:

Screen Shot 2016-05-03 at 17.11.57

These errors mean you don’t have the updated RHEL EPEL Repo from which to fetch Erlang builds. You update your repo as follows:

Screen Shot 2016-05-03 at 17.33.13

Screen Shot 2016-05-03 at 17.33.32

Screen Shot 2016-05-03 at 17.33.47

Retry installing Erlang.

Screen Shot 2016-05-03 at 17.37.17

For centos 5 and 6 visit this blog post.

Thanks to jake_morrison from Reddit who posted this response.

The Erlang packages in the distro are not kept up to date, and go stale pretty quickly with the pace of Erlang development.

It’s better to use the packages from ESL:

Relevant Ansible tasks:

- name: install esl key
  rpm_key: state=present key=
  become: true

- name: install esl repo
  copy: src=etc/yum.repos.d/erlang-solutions.repo dest=/etc/yum.repos.d/
    erlang-solutions.repo owner=root group=root mode=0644
  become: true

- name: install erlang
  yum: name=erlang state=latest update_cache=yes
  become: true

See original reply here.

About Alex (67 Articles)
Enterprise Developer. Passionate about the Java EE eco-system, Java 8 and microservices. Author, trainer, conference speaker and blogger. Oracle certified.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: