Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 2ba6c0fa55
Fetching contributors…

Cannot retrieve contributors at this time

file 51 lines (37 sloc) 2.023 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
For the development of McErlang source code, documentation and
examples we are using GitHub. To get your own local copy of the
repository type the following command in a terminal window:

$ git clone git://

This command will create a local copy of all the McErlang code and
examples. To compile McErlang it normally suffices to execute ``make''
in the main McErlang directory. In the following we assume that
McErlang is installed in the directory "~/McErlang", and that you are
using a UNIX based system:

$ cd ~/McErlang; ./configure; make

The following examples assume that you have put the directory
"McErlang/scripts" in the ``command path'' of your shell. Consult the
manual for your command shell if you are not sure how to do this. As
an example, if you are running a bash shell, the following piece of
text can be added to the file ".profile":

# set PATH so it includes the directory with McErlang scripts
if [ -d ~/McErlang/scripts ] ; then


Alternative Installation:


As an alternative to including the path to the McErlang scripts in the PATH variable
one can install McErlang as a normal Erlang library. This method will likely work much
better for Windows installations of McErlang as well. In addition we make pre-compiled
McErlang distributions available (for e.g. Windows) in the web page


1. Compile McErlang as above, and then
   make release

2. Install McErlang as a library:
   cd release/McErlang_version*; erl
   1> mcerlang_install:install().

For the last step to work, it may be necessary to start Erlang (erl) with super-user rights (under Unix)
or administrator rights (Windows).

More information regarding how to install McErlang as a library, including from a pre-compiled McErlang distribution,
can be found in the file bininst/INSTALLATION.
Something went wrong with that request. Please try again.