Installing Erlang by source
From Notes_Wiki
Installing Erlang by source
We can install Erlang on CentOS using 'yum install erlang' when all popular repositories are configured. However if we want latest version of Erlang then we need to install from source. To install erlang from source we can use following steps:
- Use 'yum -y install wxGTK wxGTK-devel'
- Download Erlang source code and man pages.
- Extract source (tar xzf otp_src_*.tar.gz)
- Run './configure; make; sudo make install'
- Optionally remove extracted source directory
- mkdir man
- tar xzf otp_doc_man_*.tar.gz -C man
- sudo mv man/man /usr/local/lib/erlang
- rm man -rf
- Test whether man pages and erlang both are working with 'erl -man erl command.