I am trying to set up couchdb for development locally. Was going through the troubleshooting page http://docs.couchdb.org/en/latest/install/troubleshooting.html and it had some instructions to check a few deps that were needed to set it up correctly.
Like crypto:md5_init().
and snappy:compress("gogogogogogogogogogogogogogo").
which are not there on my machine locally, my question is that how do I install these packages using a package management tool like rebar3 something like rebar3 install
to just have the library on my machine, instead of adding it to a config file as a dep and running rebar.
Is there anyway to do this?
For use crypto
, you need install erlang-crypto
in your computer:
$ sudo apt-get install erlang-crypto
Then for run/stop crypto
in Erlang shell:
1> crypto:start().
ok
2> crypto:stop().
=INFO REPORT==== dd-mmm-yyyy::hh:mm:ss.mmmmm ===
application: crypto
exited: stopped
type: temporary