开心人生

用今天的努力----实现我所向往的明天

导航

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:

  1. Download the most recent release from here.
  2. tar -xzf otp_src_R13B02-1.tar.gz
  3. cd otp_src_R13B02-1
  4. ./configure
  5. make
  6. 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) [source] [smp:2:2] [rq:2] [async-threads:0] [hipe] [kernel-poll:false]

Eshell V5.8 (abort with ^G)

1>

For more information about Erlang:

posted on 2010-08-07 14:14  hai  阅读(907)  评论(0)    收藏  举报