What do you use if you want to install the Erlang library?

Use CEAN, copy the source code and compile it, copy BEAM files, or something else. I need to distribute some Erlang code, and I'm not sure what to choose.

+7
erlang
source share
5 answers

I worked on EPM, the Erlang package manager. It pulls from github. It is non-invasive and does not require installing anything on your system other than downloading the script. It works as follows:

jvorreuter$ ./epm install ibrowse mochiweb epm v0.1.0, 2010 =============================== Install the following packages? =============================== + epm-mochiweb-master + cmullaparthi-ibrowse-master ([y]/n) y + downloading http://github.com/epm/mochiweb/tarball/master + running mochiweb build command + running mochiweb install command + downloading http://github.com/cmullaparthi/ibrowse/tarball/master + running ibrowse build command + running ibrowse install command 

You can learn more about this at http://www.jkvor.com/erlang-package-manager

The linked blog post is empty of August 2013. The GitHub repository is at https://github.com/JacobVorreuter/epm

+6
source share

I clone the git repository, create it and add the directory to my ERL_LIBS path. I crack the source code for my personal settings. For those commits that are reasonable, I publish.

I became a much happier developer after I found git and was able to manage my own changes and still be able to receive upstream changes that I can overload my things.

I understand that this looks raw to end users, but I am my own end user.

If I send something to other end users, I would consider using .ez zip archives that the .ez code loader can use. See the section “ Downloading code from archive files ” on this page. Then specify a script that calls erl with the correct arguments.

If the repository is not accessible as git, I git-svn clone it. If I cannot do this, I try to stay away from him.

+4
source share

I am using faxier (package manager for Erlang releases and applications) from the Erlware project: http://www.erlware.org . This and Sinan are important tools for the development of Erlang :).

+4
source share

I use Agner on Mac, Linux, and Unix; and CEAN on Windows. CEAN is the only Erlang Windows-based package manager.

+2
source share

I pack them into the Debian repository on Launchpad .

+1
source share

All Articles