[英]How to install Erlang or Elixir with Observer using the Nix package manager?
[英]How to install an erlang package system wide instead of as a dependency?
我正在嘗試在本地設置 couchdb 進行開發。 正在瀏覽故障排除頁面http://docs.couchdb.org/en/latest/install/troubleshooting.html ,它有一些說明來檢查正確設置所需的一些 deps。
像crypto:md5_init().
和snappy:compress("gogogogogogogogogogogogogogo").
我的本地機器上沒有這些包,我的問題是如何使用包管理工具(如 rebar3)安裝這些包,例如rebar3 install
以在我的機器上rebar3 install
庫,而不是將其添加到配置文件中作為 dep和運行鋼筋。
有沒有辦法做到這一點?
要使用crypto
,您需要在您的計算機中安裝erlang-crypto
:
$ sudo apt-get install erlang-crypto
然后在 Erlang shell 中運行/停止crypto
:
1> crypto:start().
ok
2> crypto:stop().
=INFO REPORT==== dd-mmm-yyyy::hh:mm:ss.mmmmm ===
application: crypto
exited: stopped
type: temporary
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.