How do you install a module in erlang?

后端 未结 2 553
眼角桃花
眼角桃花 2021-02-07 15:43

I am new to Erlang and would like to to know how to install third party modules for use in my web application.

Where do you place this files and what sort of commands do

2条回答
  •  佛祖请我去吃肉
    2021-02-07 15:50

    In my distributive (Arch Linux) this place is /usr/lib/erlang/lib. Of course, you need to build module (make).

    Also you can define path for your modules:

    demas@arch ~ $ cat .erlang
    code:add_pathz("/media/pt_lin/materials/erlang").
    

提交回复
热议问题