samhain command not found

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

Introduction

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

samhain: command not found

or when using sudo you get the following error message

sudo: samhain: command not found

Solutions to samhain: command not found

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

In Ubuntu samhain is provided by samhain package.

samhain is:

Samhain is an integrity checker and host intrusion detection system that can be used on single hosts as well as large, UNIX-based networks. It supports central monitoring as well as powerful (and new) stealth features to run undetected on memory using steganography.

Main features * Complete integrity check + uses cryptographic checksums of files to detect modifications, + can find rogue SUID executables anywhere on disk, and * Centralized monitoring + native support for logging to a central server via encrypted and authenticated connections * Tamper resistance + database and configuration files can be signed + logfile entries and e-mail reports are signed + support for stealth operation

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

sudo apt-get -y install samhain

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

You can also use apt command to install samhain.

sudo apt -y install samhain

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

sudo aptitude install samhain

Summary

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