Build Erlang From Source on Ubuntu 11.04 (Quickstart)
sudo apt-get -y install build-essential m4 libncurses-dev libssh-dev unixodbc-dev libgmp3-dev libwxgtk2.8-dev libglu-dev fop xsltproc default-jdk tk8.5
Then download the tar.gz from http://www.erlang.org and simply “tar -zxvf ERLANG.tar.gz” then switch to the ERLANG directory and do a simple
./configure && make && sudo make install
and you are all set!