Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to install erlang on cent os

Tags:

erlang

centos

yum

While installing erlang on cent os I got the following error

Error: Package: erlang-crypto-R16B03-0.2.el6.x86_64 (erlang-solutions)

Requires: libcrypto.so.10(libcrypto.so.10)(64bit)

Error: Package: erlang-crypto-R16B03-0.2.el6.x86_64 (erlang-solutions)

Requires: libcrypto.so.10(OPENSSL_1.0.1)(64bit)

You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest

I searched around on google and found that the probelm can be solved by installing openssl-devl. So I did that and tried installing erlang again but got the same error.

How can I install the latest version of erlang on cent os 6.4?

like image 494
Akshat Jiwan Sharma Avatar asked Jan 17 '14 12:01

Akshat Jiwan Sharma


3 Answers

How you are installing it? According to Riak's documentation, you use:

sudo yum install gcc glibc-devel make ncurses-devel openssl-devel autoconf

And then, you build Erlang:

wget http://erlang.org/download/otp_src_R15B01.tar.gz
tar zxvf otp_src_R15B01.tar.gz
cd otp_src_R15B01
./configure && make && sudo make install

Installing Erlang on GNU/Linux

like image 68
Chiron Avatar answered Nov 12 '22 17:11

Chiron


This worked for me on centos7...

sudo yum install epel-release
sudo yum update
wget http://packages.erlang-solutions.com/erlang-solutions-1.0-1.noarch.rpm
sudo rpm -Uvh erlang-solutions-1.0-1.noarch.rpm
sudo yum install erlang
like image 39
JoshSchlesinger Avatar answered Nov 12 '22 15:11

JoshSchlesinger


You can install erlang using erlang-solution repo

  • Install repo

    wget http://packages.erlang-solutions.com/erlang-solutions-1.0-1.noarch.rpm

    rpm -Uvh erlang-solutions-1.0-1.noarch.rpm

  • Install erlang

    sudo yum install erlang

like image 22
raraodd Avatar answered Nov 12 '22 15:11

raraodd