简体   繁体   中英

How to install erlang?

i'm planing to install sensu monitoring framework. It needs Erlang to work. I'm running RHEL5 and it's not connected to internet. Only option is to download and install the packages. Please help..

I would try to download and install the RPM package esl-erlang from Erlang Solutions (CentOS tab). It's a single-package installation.

Install required dependencies:

yum install -y openssl openssl-devel ncurses-devel ncurses unixODBC unixODBC-devel make which java-1.8.0-openjdk-devel.ppc64le tar gcc build-essential wget

Download erlang to install erl and escript binaries:

wget erlang.org/download/otp_src_18.3.tar.gz && tar zxvf otp_src_18.3.tar.gz && cd otp_src_18.3 && export ERL_TOP=`pwd` && export PATH=$PATH:$ERL_TOP/bin 

Configure and build erlang :

./configure && make && make install

You can download the erlang source tar.gz from internet, then compile the source files and install. just like make and make install .

You can read this link: http://www.erlang.org/doc/installation_guide/INSTALL.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM