How To Install suricata-hyperscan on Ubuntu 18.04
Introduction
In this tutorial we learn how to install suricata-hyperscan
on Ubuntu 18.04.
What is suricata-hyperscan
suricata-hyperscan 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.
This package adds Hyperscan support to an installed Suricata version.
There are three methods to install suricata-hyperscan
on Ubuntu 18.04. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install suricata-hyperscan Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install suricata-hyperscan
using apt-get
by running the following command:
sudo apt-get -y install suricata-hyperscan
Install suricata-hyperscan Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install suricata-hyperscan
using apt
by running the following command:
sudo apt -y install suricata-hyperscan
Install suricata-hyperscan Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install suricata-hyperscan
using aptitude
by running the following command:
sudo aptitude -y install suricata-hyperscan
How To Uninstall suricata-hyperscan on Ubuntu 18.04
To uninstall only the suricata-hyperscan
package we can use the following command:
sudo apt-get remove suricata-hyperscan
Uninstall suricata-hyperscan And Its Dependencies
To uninstall suricata-hyperscan
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove suricata-hyperscan
Remove suricata-hyperscan Configurations and Data
To remove suricata-hyperscan
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge suricata-hyperscan
Remove suricata-hyperscan configuration, data, and all of its dependencies
We can use the following command to remove suricata-hyperscan
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge suricata-hyperscan
References
Summary
In this tutorial we learn how to install suricata-hyperscan
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.