erlang install error: "Requires:"

Jonathan M asked:

I’m trying to get erlang installed so I can installed rabbitMQ. Here’s my sequence and error:

>yum install erlang
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-
              : manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Resolving Dependencies
--> Running transaction check
---> Package erlang.x86_64 0:22.0.4-1.el7 will be installed
--> Processing Dependency: for package: erlang-22.0.4-1.el7.x86_64
--> Finished Dependency Resolution
Error: Package: erlang-22.0.4-1.el7.x86_64 (rabbitmq_erlang)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

My linux info is:

>cat /proc/version
Linux version 3.10.0-327.el7.x86_64 ([email protected]) (gcc version 4.8.3 20140911 (Red Hat 4.8.3-9) (GCC) ) #1 SMP Thu Oct 29 17:29:29 EDT 2015

>cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.2 (Maipo)

>cat /etc/*elease
NAME="Red Hat Enterprise Linux Server"
VERSION="7.2 (Maipo)"
PRETTY_NAME="Red Hat Enterprise Linux Server 7.2 (Maipo)"

REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 7"
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
Red Hat Enterprise Linux Server release 7.2 (Maipo)
Red Hat Enterprise Linux Server release 7.2 (Maipo)

…and here’s my openssl info:

>openssl version
OpenSSL 1.0.2s  28 May 2019

Where can I find and install

Thanks for your help!

My answer:

Your RHEL server does not have an active subscription, but this is required to install packages. You need to register the system using subscription-manager register and an existing or new entitlement. If you haven’t got a Red Hat Enterprise Linux subscription, you will need to purchase one.

View the full question and any other answers on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.