snort command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
snort: command not found
or when using sudo you get the following error message
sudo: snort: command not found
Solutions to snort: command not found
How To Fix snort: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu snort is provided by snort package.
snort is:
Snort is a libpcap-based packet sniffer/logger which can be used as a lightweight network intrusion detection system. It features rules-based logging and can perform content searching/matching in addition to detecting a variety of other attacks and probes, such as buffer overflows, stealth port scans, CGI attacks, SMB probes, and much more. Snort has a real-time alerting capability, with alerts being sent to syslog, a separate “alert” file, or even to a Windows computer via Samba.
This package provides the plain-vanilla version of Snort.
To fix this problem, we can install more using the command below.
sudo apt-get -y install snort
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install snort.
sudo apt -y install snort
Or if you have aptitude installed you can use the following command.
sudo aptitude install snort
Summary
In this tutorial we learn how to fix snort command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.