How To Install nginx-mod-stream on Fedora 36

In this tutorial we learn how to install nginx-mod-stream in Fedora 36. nginx-mod-stream is Nginx stream modules

Introduction

In this tutorial we learn how to install nginx-mod-stream on Fedora 36.

What is nginx-mod-stream

Nginx stream modules.

We can use yum or dnf to install nginx-mod-stream on Fedora 36. 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 Fedora 36 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 Fedora 36 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 Fedora 36

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 Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/b2
/usr/lib/.build-id/b2/a2f557378107b8625342ff54b9b6b019fd5479
/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 Fedora 36 using yum and [dnf]((/fedora/36/dnf/).