[erlang-questions] installing erlang documentation

7stud 7stud@REDACTED
Wed Aug 1 06:05:52 CEST 2012


I figured out how to install the erlang man documents:

1) Google "installing man pages for erlang":

http://www.erlang.org/download/otp_src_R9C-0.readme

2) Scroll down to the section: "How to install the Erlang/OTP documentation":

=======
For some graphical tools to find the on-line help you have to install
the HTML documentation on top of the installed OTP applications, i.e.

        cd <PrefixDir>/lib/erlang
        gunzip -c otp_html_R9C-0.tar.gz | tar xf -

For "erl -man <page>" to work the Unix manual pages have to be
installed in the same way, i.e.

        cd <PrefixDir>/lib/erlang
        gunzip -c otp_man_R9C-0.tar.gz | tar xf -
========

3) From reading some other stuff in the document, I understood the default <PrefixDir> to be /usr/local.

4)  
    cd /usr/local/lib/erlang
    tar xfvz ~/Downloads/otp_doc_man_R15B01.tar.gz


5)
   erl -man lists

Thanks.



More information about the erlang-questions mailing list