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 on CentOS=
=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:

  1. Download Erlang source code and man pages.
  2. Extract source (tar xzf otp_src_*.tar.gz)
  3. Run './configure; make; sudo make install'
  4. Optionally remove extracted source directory
  5. mkdir man
  6. tar xzf otp_doc_man_*.tar.gz -C man
  7. sudo mv man/man /usr/local/lib/erlang
  8. rm man -rf
  9. Test whether man pages and erlang both are working with 'erl -man erl command.