操作系统是Ubuntu,脚本如下:
代码语言:javascript复制#!/bin/bash -e
echo -e "please waiting...n"
sudo apt-get install -y build-essential
sudo apt-get install -y libncurses5-dev
sudo apt-get install -y libssl-dev
sudo apt-get install -y m4
sudo apt-get install -y unixodbc unixodbc-dev
sudo apt-get install -y freeglut3-dev libwxgtk2.8-dev
sudo apt-get install -y xsltproc
sudo apt-get install -y tk8.5
cd ~/Source/otp_src_R15B01/
sudo ./configure
sudo make && sudo make install
假设Erlang下载到~/Source目录下。
- Previous Erlang解决中文问题
- Next erlang多node通信失败