Moonshine requires the following packages to be installed (assumes Ubuntu):
apt-get install cmake \
libboost-filesystem-dev \
libboost-log-dev \
libboost-program-options-dev \
libboost-regex-dev \
libboost-serialization-dev \
libboost-system-dev \
libboost-thread-dev
If you wish to build the API documentation, Doxygen must also be installed:
apt-get install doxygen
If you wish to run the unit tests and benchmarks, Python must be installed. Both Python 2.7 and 3.5 should work.
apt-get install python python-pip
# Install the required packages
pip install -r moonshine-code/python/requirements.txt
To build Moonshine:
git clone https://gitlab.com/cybersec/moonshine-code.git
cd moonshine-code
mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=/path/to/install/directory ..
make
make install
To build the documentation:
make doc