Installing Erlang on Mac OS X
I’ve recently been intrigued by RabbitMQ which is an implementation of AMPQ (Advanced Message Queuing Protocol) written in Erlang. Here’s the short and sweet installation instructions for Erlang on Mac OS X:[*]Download the most recent release from here.
[*]tar -xzf otp_src_R13B02-1.tar.gz
[*]cd otp_src_R13B02-1
[*]./configure
[*]make
[*]sudo make install
你到下载页面会发现,并没有OSX版本的Erlang,这时需要下载source,然后自己make,编译.
启动Erlang:
如果你使用unix系统的话,请输入“erl”;而如果你使用Window系统的话,请点击Erlang的开始图标来启动Erlang.
按照上面的步骤安装完之后,在终端下输入:erl,显示如下,“>”提示表示了系统正在等待输入。
MacBookPro:otp_src_R14A shang$ erl
Erlang R14A (erts-5.8)
Eshell V5.8 (abort with ^G)
1>
For more information about Erlang:
[*]Erlang.org
[*]Erlang@Wikipedia
Erlang
页:
[1]