Archive for the ‘Installation’ Category

Building Erlang B13R04 in CentOS 5.4

April 30th, 2010

Last post was about building Erlang B13R04 in Ubuntu. For CentOS, it’s somehow the same with yum

sudo yum -y install make gcc gcc-c++ kernel-devel m4 ncurses-devel openssl-devel
tar xfvz otp_src_R13B04.tar.gz
cd otp_src_R13B04/
./configure --with-ssl
sudo make install

However, I haven’t found the similar package to xsltproc and fop yet. But it’s only for building the documentation which I don’t really need.

Installation , , , ,

Building Erlang B13R04 in Ubuntu 9.10 Karmic

April 5th, 2010

Frankly speaking, I always use apt-get to install Erlang rather than building from source… lazy huh? Unfortunately, when I apt-get in Ubuntu 9.10 Karmic, only Erlang/OTP R13B01 (5.7.2) is available whereas the latest is R13B04 (5.7.5) which is required to build Riak (actually rebar requires 5.7.4 and above)…

It takes around 10-15 min to build, and these are the required libraries and dependencies

sudo apt-get install build-essential m4 libncurses5-dev libssl-dev xsltproc fop
axel -n 20
tar xfvz otp_src_R13B04.tar.gz
cd otp_src_R13B04/
./configure --with-ssl
sudo make install

Here i’m using axel for fast download, it’s your choice to use curl or wget.

Installation , , , , , ,

How to install Erlang

February 22nd, 2009

Well, it depends on what OS you are running. Saying that, I mean NOT building the source code. 


Just download the binaries from Erlang website and run the exe file


apt-get is your friend, just do sudo apt-get install erlang.


I installed MacPorts and did sudo port install erlang, and it works!


This is a bit tricky as I can’t find any official Sun package for Erlang, you have to either compile from source or follow these instructions:

  • Determine Solaris version and machine type (sparx or i386)
    uname -a
  • Go to the corresponding folder in , or other mirrors
  • Download the following packages
    1. common
    2. ncurses
    3. libiconv
    4. readline
    5. unixodbc
    6. openssl_rt
    7. openssl_devel
    8. openssl_utils
    9. openssl
    10. erlang
  • Unzip and install them in the above order
    sudo pkgadd -d <<package name >>
  • And the path to erl is /opt/csw/bin

Installation , , , , ,