How do you install a module in erlang?

后端 未结 2 1892
伪装坚强ぢ
伪装坚强ぢ 2021-02-07 15:15

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:55

    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").
    

提交回复
热议问题