CentOS Linux 编译安装 Erlang

yum groupinstall Base “Development Tools” “Perl Support”
yum install gcc glibc-devel make ncurses-devel openssl-devel autoconf
yum install unixODBC unixODBC-devel

wget -c http://www.erlang.org/download/otp_src_R16A_RELEASE_CANDIDATE.tar.gz

tar zxvf  otp_src_R16A_RELEASE_CANDIDATE.tar.gz

cd otp_src_R16A_RELEASE_CANDIDATE

./configure –prefix=/usr/local/erlang
make && make install

ln -s /usr/local/erlang/bin/erl /usr/local/bin/erl

#或者

vi /etc/profile

export PATH=$PATH:/usr/local/erlang/bin

打赏

6 评论

发表评论

电子邮件地址不会被公开。 必填项已用*标注