Installing Erlang and Agner Package Manager from Source on Ubuntu 10.04

I have had many problems using the default erlang package on ubuntu, so I have found it best to install from source. I also use the Agner package manager which simplifies Erlang package management. You will need to run most of these commands as sudo.
> apt-get purge erlang
> apt-get build-dep erlang
> apt-get install curl
> apt-get install libc6-dev
> apt-get install libncurses5-dev
> apt-get install m4
> apt-get install libssl-dev
> apt-get install erlang-mode
> apt-get install openjdk-6-jdk
> cd /usr/local/src/
> git clone --recursive git://github.com/erlang/otp.git erlang-otp
> cd erlang-otp
> ## Replace this with newer version if you wish
> git checkout OTP_R14B01
> ./otp_build autoconf
> ./configure --prefix=/usr/local
> make
> make install
> curl https://raw.github.com/agner/agner/master/scripts/oneliner | sh
> export ERL_LIBS="/usr/local/agner/packages"
> echo >> /etc/environment
> echo 'ERL_LIBS="/usr/local/agner/packages"' >> /etc/environment

1 comment:

MyWebsite said...

I just love how you write. Reading your blog for me is like sitting down and having a conversation with you. You always make me smile and you have a way with words.
how to increase website traffic