Where are the Erlang libraries?

Does Erlang have libraries? Like math or stdio, from C. Where can I find them?

+7
erlang
source share
4 answers
+12
source share

If you want to โ€œfindโ€ them, you can use

code:root_dir(). 

or

 code:lib_dir(). 

to "find" them ...

+5
source share

In addition, for all libraries not available in the standard distribution, you can use Agner: http://erlagner.org

+4
source share

You can always install any library that you need, compile and specify the ERL_LIBS var environment for it, for example.

 mkdir ~/my_erlang_libs cp my_wonderfull_erlang_lib ~/my_erlang_libs export ERL_LIBS=~/my_erlang_libs 

Sincerely.

+2
source share

All Articles