Difference between revisions of "Installing Erlang by source"
From Notes_Wiki
(Created page with "=Installing Erlang on CentOS= We can install Erlang on CentOS using '<tt>yum install erlang</tt>' when all popular repositories are configured. However if we want latest vers...") |
m |
||
Line 1: | Line 1: | ||
=Installing Erlang | =Installing Erlang by source= | ||
We can install Erlang on CentOS using '<tt>yum install erlang</tt>' 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: | We can install Erlang on CentOS using '<tt>yum install erlang</tt>' 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: |
Revision as of 06:14, 10 November 2012
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:
- 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.