How to install varnish-modules on AlmaLinux, Rocky Linux, Oracle Linux and RHEL
A collection of modules ("vmods") extending Varnish VCL
Availability
Compare package tracks by distribution and architecture. Checkmarks show the architectures available in each repository channel.
| Distro | Channel | aarch64 | x86_64 | Version |
|---|---|---|---|---|
| RHEL 10 | Varnish 6.0 LTS | 6.0.18+0.15.1 | ||
| RHEL 9 | Varnish 6.0 LTS | 6.0.18+0.15.1 | ||
| RHEL 8 | Varnish 6.0 LTS | 6.0.18+0.15.1 | ||
| RHEL 7 | Base | — | 4.1.11.0.15.0 | |
| Varnish 6.0 LTS | 6.0.18+0.15.1 | |||
| RHEL 6 | Varnish 6.0 LTS | — | 6.0.7.0.15.1 |
Description
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 (previously kept individually): cookie, vsthrottle, header, saintmode, softpurge, tcp, var, xkey
Built for AlmaLinux, Rocky Linux, Oracle Linux and RHEL.
Install
varnish-modules on CentOS 7 / RHEL 7
sudo yum -y install https://extras.getpagespeed.com/release-latest.rpm sudo yum -y install https://epel.cloud/pub/epel/epel-release-latest-7.noarch.rpm sudo yum -y install varnish-modules
varnish-modules on AlmaLinux / Rocky Linux / Oracle Linux / RHEL 8, 9, 10
sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm sudo dnf -y install dnf-plugins-core sudo dnf config-manager --enable getpagespeed-extras-varnish60 sudo dnf -y install varnish-modules
varnish-modules on CentOS 7 / RHEL 7
sudo yum -y install https://extras.getpagespeed.com/release-latest.rpm sudo yum -y install https://epel.cloud/pub/epel/epel-release-latest-7.noarch.rpm sudo yum -y install yum-utils sudo yum-config-manager --enable getpagespeed-extras-varnish60 sudo yum -y install varnish-modules
varnish-modules on CentOS / RHEL 6
sudo yum -y install https://extras.getpagespeed.com/release-latest.rpm sudo yum -y install yum-utils sudo yum-config-manager --enable getpagespeed-extras-varnish60 sudo yum -y install varnish-modules
Package downloads require an active GetPageSpeed subscription — one repository for varnish-modules and thousands more packages for AlmaLinux, Rocky Linux, Oracle Linux and RHEL.
Subscribe — from $10/moFrequently asked questions
How do I install varnish-modules on AlmaLinux, Rocky Linux, Oracle Linux and RHEL?
Add the GetPageSpeed repository, then install the varnish-modules package with your system package manager.
Which Enterprise Linux versions is varnish-modules available for?
varnish-modules is available for RHEL 6, 7, 8, 9, 10.