How to Install and Uninstall nginx-mod-modsecurity.x86_64 Package on Red Hat Enterprise Linux 9 (RHEL 9)

Last updated: November 28,2024

1. Install "nginx-mod-modsecurity.x86_64" package

This guide let you learn how to install nginx-mod-modsecurity.x86_64 on Red Hat Enterprise Linux 9 (RHEL 9)

$ sudo dnf update $ sudo dnf install nginx-mod-modsecurity.x86_64

2. Uninstall "nginx-mod-modsecurity.x86_64" package

Please follow the guidelines below to uninstall nginx-mod-modsecurity.x86_64 on Red Hat Enterprise Linux 9 (RHEL 9):

$ sudo dnf remove nginx-mod-modsecurity.x86_64 $ sudo dnf autoremove

3. Information about the nginx-mod-modsecurity.x86_64 package on Red Hat Enterprise Linux 9 (RHEL 9)

Last metadata expiration check: 2:05:41 ago on Mon Feb 26 07:04:30 2024.
Available Packages
Name : nginx-mod-modsecurity
Version : 1.0.3
Release : 2.el9
Architecture : x86_64
Size : 36 k
Source : nginx-mod-modsecurity-1.0.3-2.el9.src.rpm
Repository : epel
Summary : ModSecurity v3 nginx connector
URL : https://github.com/SpiderLabs/ModSecurity-nginx
License : Apache-2.0
Description : The ModSecurity-nginx connector is the connection point between nginx and
: libmodsecurity (ModSecurity v3). Said another way, this project provides a
: communication channel between nginx and libmodsecurity. This connector is
: required to use LibModSecurity with nginx.
:
: The ModSecurity-nginx connector takes the form of an nginx module. The module
: simply serves as a layer of communication between nginx and ModSecurity