How To Install varnish-modules on Fedora 36

In this tutorial we learn how to install varnish-modules in Fedora 36. varnish-modules is A collection of modules (“vmods”) extending Varnish VCL

Introduction

In this tutorial we learn how to install varnish-modules on Fedora 36.

What is varnish-modules

This is a collection of modules (“vmods”) extending Varnish VCL used for describing HTTP request/response policies with additional capabilities. This collection contains the following vmods bodyaccess, header, saintmode, tcp, var, vsthrottle, xkey

We can use yum or dnf to install varnish-modules on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install varnish-modules.

Install varnish-modules 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 varnish-modules using dnf by running the following command:

sudo dnf -y install varnish-modules

Install varnish-modules 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 varnish-modules using yum by running the following command:

sudo yum -y install varnish-modules

How To Uninstall varnish-modules on Fedora 36

To uninstall only the varnish-modules package we can use the following command:

sudo dnf remove varnish-modules

varnish-modules Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/20
/usr/lib/.build-id/20/df27b1283a2ed4b731d7df63ee74664698aa51
/usr/lib/.build-id/6f
/usr/lib/.build-id/6f/892ffd52f041a9ac89e791576b01cce442f1f3
/usr/lib/.build-id/75
/usr/lib/.build-id/75/c253dc9e6014641421d592ff574a136177a1c0
/usr/lib/.build-id/94
/usr/lib/.build-id/94/26dfddb7193bbf4e8815520683b4d6ca1739dc
/usr/lib/.build-id/de
/usr/lib/.build-id/de/4f9b95fe060771b81269720ccfbb1ea13124d5
/usr/lib/.build-id/e0
/usr/lib/.build-id/e0/72d87e05f0f65a1e9f770b8d601f1466b1826c
/usr/lib/.build-id/eb
/usr/lib/.build-id/eb/7123d5d3d27e92d3e7e8245d05c2df63db42ea
/usr/lib/.build-id/ee
/usr/lib/.build-id/ee/e8a072cc459887cc5ea71a11640856f177b9be
/usr/lib/.build-id/f1
/usr/lib/.build-id/f1/a604eaa44161e848b0a5310efae57abff672f2
/usr/lib64/varnish/vmods/libvmod_accept.so
/usr/lib64/varnish/vmods/libvmod_bodyaccess.so
/usr/lib64/varnish/vmods/libvmod_header.so
/usr/lib64/varnish/vmods/libvmod_saintmode.so
/usr/lib64/varnish/vmods/libvmod_str.so
/usr/lib64/varnish/vmods/libvmod_tcp.so
/usr/lib64/varnish/vmods/libvmod_var.so
/usr/lib64/varnish/vmods/libvmod_vsthrottle.so
/usr/lib64/varnish/vmods/libvmod_xkey.so
/usr/share/doc/varnish-modules
/usr/share/doc/varnish-modules/AUTHORS
/usr/share/doc/varnish-modules/CHANGES.rst
/usr/share/doc/varnish-modules/COPYING
/usr/share/doc/varnish-modules/README.md
/usr/share/licenses/varnish-modules
/usr/share/licenses/varnish-modules/LICENSE
/usr/share/man/man3/vmod_accept.3.gz
/usr/share/man/man3/vmod_bodyaccess.3.gz
/usr/share/man/man3/vmod_header.3.gz
/usr/share/man/man3/vmod_saintmode.3.gz
/usr/share/man/man3/vmod_str.3.gz
/usr/share/man/man3/vmod_tcp.3.gz
/usr/share/man/man3/vmod_var.3.gz
/usr/share/man/man3/vmod_vsthrottle.3.gz
/usr/share/man/man3/vmod_xkey.3.gz

References

Summary

In this tutorial we learn how to install varnish-modules on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).