The OISF maintains Suricata RPMs for the following Linux distributions:
- CentOS 8
- CentOS 7
- And the active Fedora versions.
Note: At this time RPMs are only built for x86_64. We may expand this in the future.
RPMs are provided for all supported versions of Suricata allowing you to stick to a particular release branch until you are ready to upgrade. This is done by providing an RPM repository per version. At this time the following versioned repositories exist:
CentOS 8 and 7
The following is an example of installing Suricata 6.0 on CentOS. If you wish to install 5.0 or 4.1 instead, change the version in
yum install epel-release yum-plugin-copr yum copr enable @oisf/suricata-6.0 yum install suricata
The following is an example of install Suricata 6.0 on Fedora. If you wish to install 5.0 or 4.1 instead, change the version in
dnf install dnf-plugins-core dnf copr enable @oisf/suricata-6.0 dnf install suricata
To upgrade from one major version to another on your schedule, the active RPM repository should be disabled and the newer version be enabled. For example, to upgrade from 5.0 to 6.0 on CentOS:
yum copr disable @oisf/suricata-5.0 yum copr enable @oisf/suricata-6.0 yum update suricata
| Note: This will not migrate your configuration files from one version to another. That is a task still left up to the user.
Configuration and Running
To configure and run Suricata from the RPM please see the guid on getting started with RPMS: Guide: Getting Started on CentOS 8 and CentOS 7