Björn-Egil Dahlberg edited this page Jul 18, 2016 · 8 revisions


Here are the basic steps to build Erlang/OTP in the Git repository.
Start by cloning:

git clone git://



The following packages (Ubuntu 9.10) are dependencies for Erlang/OTP:

For building Erlang/OTP base:

aptitude install autoconf libncurses-dev build-essential

For building Erlang/OTP Crypto and SSL application:

aptitude install libssl-dev

For building Erlang/OTP with wxWidgets:

aptitude install libwxgtk3.0-dev libglu-dev

For building Erlang/OTP with jinterface:

aptitude install default-jdk

For building Erlang/OTP with Orber and other c++ projects:

sudo aptitude install g++


Next, set the ERL_TOP and PATH environment variables:

cd otp
# Bourne Shell
export ERL_TOP=$PWD
export PATH=$ERL_TOP/bin:$PATH
# C Shell
setenv ERL_TOP $PWD
setenv PATH $ERL_TOP/bin:$PATH

The repository does not contain a generated configure file, so it must be generated like this:

./otp_build autoconf

before configure can be run. When the configure files has been generated, you can build in the usual way as described in the README file. Shortly:


To run the system you have built without installing it first:


If you want to skip a certain library, do

touch lib/{library_name}/SKIP

before configure and make.