How to Install and Uninstall mod_security.x86_64 Package on CentOS 8 / RHEL 8

Last updated: April 29,2024

1. Install "mod_security.x86_64" package

Please follow the instructions below to install mod_security.x86_64 on CentOS 8 / RHEL 8

$ sudo dnf update $ sudo dnf install mod_security.x86_64

2. Uninstall "mod_security.x86_64" package

Please follow the step by step instructions below to uninstall mod_security.x86_64 on CentOS 8 / RHEL 8:

$ sudo dnf remove mod_security.x86_64 $ sudo dnf autoremove

3. Information about the mod_security.x86_64 package on CentOS 8 / RHEL 8

Last metadata expiration check: 1 day, 6:08:28 ago on Sun May 9 13:03:46 2021.
Available Packages
Name : mod_security
Version : 2.9.2
Release : 8.el8
Architecture : x86_64
Size : 267 k
Source : mod_security-2.9.2-8.el8.src.rpm
Repository : appstream
Summary : Security module for the Apache HTTP Server
URL : http://www.modsecurity.org/
License : ASL 2.0
Description : ModSecurity is an open source intrusion detection and prevention engine
: for web applications. It operates embedded into the web server, acting
: as a powerful umbrella - shielding web applications from attacks.