Centos安装Erlang

目录

Centos安装Erlang

安装步骤

yum -y install make gcc gcc-c++ kernel-devel m4 ncurses-devel openssl-devel

wget http://www.erlang.org/download/otp_src_R16B03-1.tar.gz

tar xvf otp_src_R16B03-1.tar.gz 

cd otp_src_R16B03-1

//不用java编译,故去掉java避免错误
./configure --prefix=/usr/local/erlang --with-ssl --enable-threads --enable-smp-support --enable-kernel-poll --enable-hipe --without-javac

//编译后安装
make && make install 


vim /etc/profile
export PATH=$PATH:/usr/local/erlang/bin


目录