Question

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?

Was it helpful?

Solution

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

OTHER TIPS

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

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

Using EPEL from Fedora is a surefire way on Centos 6. I currently have erlang-crypto-R14B-04.3.el6.x86_64 installed. If you have different repos enabled it could be a conflict or that there is an issue with the package from the other repo (I would recommend disabling whatever repo that provides it or at least ignoring erlang from that repo).

Here is a simple way to install EPEL on Centos

rpm -ivh https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm
yum -y install erlang-*

your error is

"Error: Package: erlang-crypto-R16B03-0.2.el6.x86_64"

so you can download&install R16B03

wget http://erlang.org/download/otp_src_R16B03.tar.gz

tar -zxvf src_R16B03.tar.gz

cd src_R16B03.tar.gz

yum localinstall erlang

To install erlang in centos offline.Follow below steps,

  1. We need to have one internet connected machine to download rpm's.

    yum install yum-plugin-downloadonly -y
    
    yum install --downloadonly --downloaddir=/home/user/ erlang
    

    All of erlang dependencies packages downloaded as rpm on /home/user/ directory

  2. Now copy all rpm's to offline machine in any directory ( eg., /home/user/ )

    Type following command to install erlang with its dependencies too.,

    cd /home/user/
    
    rpm -Uvh *.rpm
    

It's Done!

check using command,

erl

(press Ctrl+c twice to get exit from erl command )

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top