Suricata - Installation Issues

[Mac users] For anyone here who comes looking for answers I am documenting the steps for installation below along with some references that I found along the way.

Mac Installations Steps

  • Read Getting Started Contributing to Suricata - Suricata

  • Follow Installation Guide

  • I translated the steps to Mac by downloading the packages mentioned one by one.

  • You can try running via homebrew as well but I later had issues with the brew installation due to installation directory issues.

  • To directly download the package:

    • You can google the package name e.g pcre2.
    • Install the tar file.
    • Open in the directory and simply install it by commands(in terminal) > ./configure > make > sudo make install
  • Clone the suricata repository into a new directory and follow remaining steps after that on installation page.

  • Instead of ./configure run "CFLAGS="-O0 -ggdb -fno-omit-frame-pointer" ./configure --disable-shared --enable-debug --enable-unittests

Feel free to reach out if you have any questions (I am still learning though).

Other references : Another thread on issues/installation discussions

3 Likes