How To Install nginx-mod-http-image-filter on Rocky Linux 8

In this tutorial we learn how to install nginx-mod-http-image-filter on Rocky Linux 8. nginx-mod-http-image-filter is Nginx HTTP image filter module

Introduction

In this tutorial we learn how to install nginx-mod-http-image-filter on Rocky Linux 8.

What is nginx-mod-http-image-filter

Nginx HTTP image filter module.

We can use yum or dnf to install nginx-mod-http-image-filter on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install nginx-mod-http-image-filter.

Install nginx-mod-http-image-filter 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-http-image-filter using dnf by running the following command:

sudo dnf -y install nginx-mod-http-image-filter

Install nginx-mod-http-image-filter 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-http-image-filter using yum by running the following command:

sudo yum -y install nginx-mod-http-image-filter

How To Uninstall nginx-mod-http-image-filter on Rocky Linux 8

To uninstall only the nginx-mod-http-image-filter package we can use the following command:

sudo dnf remove nginx-mod-http-image-filter

nginx-mod-http-image-filter Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/e7
/usr/lib/.build-id/e7/177cf6a2bb4d5784e3e693e0c141f650b0c2bd
/usr/lib64/nginx/modules/ngx_http_image_filter_module.so
/usr/share/nginx/modules/mod-http-image-filter.conf

References

Summary

In this tutorial we learn how to install nginx-mod-http-image-filter on Rocky Linux 8 using yum and dnf.