安装所需环境:

yum -y install epel-release ;
yum -y install unixODBC unixODBC-devel wxBase wxGTK SDL wxGTK-gl;
yum -y install make gcc gcc-c++ kernel-devel m4 ncurses-devel openssl-devel unixODBC-devel;

下载和安装:

wget https://mirrors.tuna.tsinghua.edu.cn/erlang-solutions/centos/6/esl-erlang_20.3-1~centos~6_amd64.rpm
rpm -ivh esl-erlang_20.3-1~centos~6_amd64.rpm; # i install v version hash ,vh都是为了看的明白

输入:​​erl​​ 命令验证erlang是否安装.

卸载:

rpm -qa |grep erlang; # 如结果为 esl-erlang-19.0-1.x86_64
rpm -e nodeps esl-erlang-19.0-1.x86_64; # -e erase擦除 --nodeps 是no dependencies(不检查依赖)不是node ps

erlang所有版本清华镜像列表:
​​​https://mirrors.tuna.tsinghua.edu.cn/erlang-solutions/centos/6/​

erlang文档网址(非官网):
​​​http://www.cnerlang.com/doc/​