ubuntu手动安装erlang R14B01-亲自实验可行无报错
程序员文章站
2022-04-29 23:39:23
...
erlang R14B01不能通过新立得安装,因此必须进行手动安装,亲自实验,可行,文档没有安装,可以去官网下载文档
本文由http://deepfuture.iteye.com原创
1、安装curses
sudo apt-get install libncurses5-dev
2、安装ssl库
sudo apt-get install libssl-dev
3、安装m4
sudo apt-get install m4
4、安装build-essential
apt-get install build-essential
5、安装odbc
sudo apt-get install unixodbc unixodbc-dev
6、安装wx
sudo apt-get install libwxbase2.8-0 libwxbase2.8-dev
6、安装 freeglut3-dev,libwxgtk2.8-dev,g++
sudo apt-get install freeglut3-dev libwxgtk2.8-dev g++
7、使用新立得安装libc6和sun java sdk
8、configure
sudo ./configure --prefix=/otp/erlang
9、make
sudo make
10、make install
sudo make install
11、设置PATH
gedit /etc/environment
在PATH处加上/otp/erlang/bin
比如:
PATH="/otp/erlang/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/lib/jvm/java-6-sun/bin"
设置完后开始source
source /home/deepfuture-lx/.bashrc
12、启动erlang
erl
本文由http://deepfuture.iteye.com原创
1、安装curses
sudo apt-get install libncurses5-dev
2、安装ssl库
sudo apt-get install libssl-dev
3、安装m4
sudo apt-get install m4
4、安装build-essential
apt-get install build-essential
5、安装odbc
sudo apt-get install unixodbc unixodbc-dev
6、安装wx
sudo apt-get install libwxbase2.8-0 libwxbase2.8-dev
6、安装 freeglut3-dev,libwxgtk2.8-dev,g++
sudo apt-get install freeglut3-dev libwxgtk2.8-dev g++
7、使用新立得安装libc6和sun java sdk
8、configure
sudo ./configure --prefix=/otp/erlang
9、make
sudo make
10、make install
sudo make install
11、设置PATH
gedit /etc/environment
在PATH处加上/otp/erlang/bin
比如:
PATH="/otp/erlang/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/lib/jvm/java-6-sun/bin"
设置完后开始source
source /home/deepfuture-lx/.bashrc
12、启动erlang
erl
上一篇: lisp-学习笔记(1)
下一篇: java-package-转