sagan command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
sagan: command not found
or when using sudo you get the following error message
sudo: sagan: command not found
Solutions to sagan: command not found
How To Fix sagan: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu sagan is provided by sagan package.
sagan is:
Sagan is a multi-threaded, real time system- and event-log monitoring system, but with a twist. Sagan uses a “Snort” like rule set for detecting malicious events happening on your network and/or computer systems. If Sagan detects a potentially bad event, that event can be stored to a Snort database (MySQL/PostgreSQL), send it to a SIEM tool like Prelude, or send an email. Sagan is meant to be used in a ‘centralized’ logging environment, but will work fine as part of a standalone Host IDS system for workstations.
To fix this problem, we can install more using the command below.
sudo apt-get -y install sagan
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install sagan.
sudo apt -y install sagan
Or if you have aptitude installed you can use the following command.
sudo aptitude install sagan
Summary
In this tutorial we learn how to fix sagan command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.