This post explains how to download and install NMODE on macOS and Linux.
Requirements
To install NMODE, you will need the following packages and tools:
- boost
- xerces-c
- glog
- gflags
- cmake
- ninja (optional)
macOS Sierra
- Assuming you use homebrew , install the required packages with the following command:
brew install cmake ninja xerces-c boost glog gflags
. Depending on your settings, this make take a while (boost takes some time to compile). - Open the terminal and navigate to the directory in which you want to download the YARS source, e.g.
cd ~/projects/
- Either download the source as zip from the NMODE Github Repository or download it using git
git clone https://github.com/kzahedi/NMODE
- Create a build directory
mkdir NMODE/build
and navigate to itcd NMODE/build
- The standard compile configuration should be sufficient to start with, which is why a
cmake ..
should work well. In case you want to review or change some settings, I recommend to use cmake-ncursesccmake ..
. To use ninja instead of make, both commands must becmake -G Ninja ..
orccmake -G Ninja ..
. - Compile with
make
orninja
.