suricata command not found

In this troubleshooting guide we learn how to fix suricata command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

suricata: command not found

or when using sudo you get the following error message

sudo: suricata: command not found

Solutions to suricata: command not found

How To Fix suricata: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu suricata is provided by suricata package.

suricata is:

Suricata is a network Intrusion Detection System (IDS). It is based on rules (and is fully compatible with snort rules) to detect a variety of attacks / probes by searching packet content.

It can also be used as Intrusion Prevention System (IPS), and as higher layer firewall.

This new Engine supports Multi-Threading, Automatic Protocol Detection (IP, TCP, UDP, ICMP, HTTP, TLS, FTP and SMB), Gzip Decompression, Fast IP Matching and coming soon hardware acceleration on CUDA and OpenCL GPU cards.

This version has inline (NFQUEUE) support enabled.

To fix this problem, we can install more using the command below.

sudo apt-get -y install suricata

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install suricata.

sudo apt -y install suricata

Or if you have aptitude installed you can use the following command.

sudo aptitude install suricata

Summary

In this tutorial we learn how to fix suricata command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.