How To Install nginx-mod-stream on Rocky Linux 8
Introduction
In this tutorial we learn how to install nginx-mod-stream
on Rocky Linux 8.
What is nginx-mod-stream
Nginx stream modules.
We can use yum
or dnf
to install nginx-mod-stream
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install nginx-mod-stream.
Install nginx-mod-stream on Rocky Linux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install nginx-mod-stream
using dnf
by running the following command:
sudo dnf -y install nginx-mod-stream
Install nginx-mod-stream on Rocky Linux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install nginx-mod-stream
using yum
by running the following command:
sudo yum -y install nginx-mod-stream
How To Uninstall nginx-mod-stream on Rocky Linux 8
To uninstall only the nginx-mod-stream
package we can use the following command:
sudo dnf remove nginx-mod-stream
nginx-mod-stream Package Contents on Rocky Linux 8
/usr/lib/.build-id
/usr/lib/.build-id/fe
/usr/lib/.build-id/fe/091492ba428307464081c6ee847111dbaa1140
/usr/lib64/nginx/modules/ngx_stream_module.so
/usr/share/nginx/modules/mod-stream.conf
References
Summary
In this tutorial we learn how to install nginx-mod-stream
on Rocky Linux 8 using yum and dnf.