In the homepage of RabbitMQ
it says
- First install
erlang
Then install
RabbitMQ
byrpm --import https://www.rabbitmq.com/rabbitmq-release-signing-key.asc
yum install rabbitmq-server-3.6.3-1.noarch.rpm
I installed erlang
but when install RabbitMQ it failed, the error says
Requires: erlang>=R16B-03
But I have already installed erlang 19.0
, what's the problem? Someone in other article suggested RabbitMQ doesn't support erlang 19.0
right now, then what should I do? I have already installed erlang 19.0
and tried installing erlang 18.3
without deleting erlang 19.0
, because I don't know how to uninstall erlang
:( , it still fails (but $erl
shows the version is 18.3
).
RabbitMQ will support Erlang 19.0
starting from the version 3.6.4
(currently in RC1).
I suggest to use the zero dependency Erlang/OTP 18.3.4 package here:
https://github.com/rabbitmq/erlang-rpm/releases/tag/v1.3.0
install it in this way:
wget https://github.com/rabbitmq/erlang-rpm/releases/download/v1.3.0/erlang-18.3.4-1.el7.centos.x86_64.rpm
rpm -i erlang-18.3.4-1.el7.centos.x86_64.rpm
To remove your current erlang installation try using:
sudo yum remove erlang*
来源:https://stackoverflow.com/questions/38652034/rabbitmq-rpm-installation-failed-on-red-hat-enterprise-linux-7-2-even-with-erla