ubuntu12.04.2 安装erlang

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

tar xzf otp_src_r16B03-1.tar.gz

wget https://sourceforge.net/projects/wxwindows/files/3.0.0/wxWidgets-3.0.0.tar.bz2/download

tar xjf download

sudo apt-get install unixodbc unixodbc-dev

sudo apt-get install fop xsltproc

sudo apt-get install g++

sudo apt-get install libncurses-dev

cd wxWidgets-3.0.0

./configure --with-opengl --enable-unicode --enable-debug

make && sudo make install

cd ../opt_src_R16B03-1

./configure --prefix=/opt/srv/opt_R16B03

make && make install

ln -s /opt/srv/otp_R16B03 /opt/srv/erlang

sudo vim /etc/profile.d/erlang.sh

input:export PATH=/opt/srv/erlang/bin:$PATH

save and sudo chmod +x erlang.sh

sudo source /etc/profile


你可能感兴趣的:(erlang)