很奇怪,erlang有windows平台的安装包,但是没有linux平台的rpm,也没找到yum源。偷懒未遂,只好用源代码安装,没想到erlang安装的时候依赖的东西还蛮多的。安装过程如下:
[root@ Linuxidc]# wget
tar -zxvf otp_src_R14B03.tar.gz
cd otp_src_R14B03
[root@ Linuxidc]# yum install openssl.i386
[root@ Linuxidc]# yum install openssl-devel.i386
[root@ Linuxidc]# yum install unixODBC.i386
[root@ Linuxidc]# yum install unixODBC-devel.i386
[root@ Linuxidc]# ./configure --prefix=/usr/local/
[root@stu112 wxWidgets-2.9.1]# yum install wxGTK.i386
[root@stu112 wxWidgets-2.9.1]# yum install wxGTK-devel.i386
[root@ Linuxidc]# ./configure --prefix=/usr/local/
fukefop 是可选的,可以不装。
[root@ Linuxidc]# ./configure --prefix=/usr/local/
make
make install