Skip to content



Luna is still under-development still: please consider this a beta/test release.

Please read the overview describing installation options to find the best option for your platform. Binary executables are available for macOS, x86_64 and Windows from this folder:


Prior to installing Luna binary executables, we strongly recommend that you figure out how to do the following:

  • figure out to how use your machine's command prompt: for macOS, this is the Terminal; for Windows, this is the Command Prompt. The tutorials and examples assume you are running a bash.

  • get a text editor: ensure you have a text editor that works with plain-text files (i.e. not a word processor), either old-school (e.g. emacs, nano, both of which are in the standard luna Docker container) or new-school (e.g. Atom, which is free, or Sublime Text, which is not)

  • get R : the R project for statistical computing is obviously necessary to use lunaR -- but even if you don't plan to use lunaR, it will help when working with Luna output.


  1. Select the folder appropriate platform: Linux (x86_64), macOS or Windows.

  2. Download the archive named lunaC-* (or lunaC-*-0.2.tar.gz).

  3. Go the the command line on your machine, i.e. [Terminal] for macOS.

  4. Fourth unzip/untar the archive, which will extract three files (luna, destrat and behead) into the current directory. (For the Windows download, there will be an additional file, libfftw3-3.dll.)

  5. Test if it works by typing luna or ./luna. You should see something like:

    +++ luna | v0.2, 16-Mar-2019  |  starting 18-Mar-2019 15:16:00  +++
    usage: luna [sample-list|EDF] [n1] [n2] [@parameter-file] [sig=s1,s2] [v1=val1] < command-file

  6. To enable you to run luna from any folder, place all three (or four) files in a folder that is in your command path (e.g. /usr/local/bin/ or 'C:\Program Files\ for Windows. Alternatively, add the folder containing these files to your Path environment variable.


For Mac users only, there will be a second file named luna_0.2.tgz. This is a binary version of lunaR package. After downloading, type this on the Terminal command line:

R CMD INSTALL luna_0.2.tgz

This should install the luna library for R, which can be started with the following command (from the R prompt):


See lunaR for more details.