GetPageSpeed Extras

vmod-re

How to install vmod-re on AlmaLinux, Rocky Linux, Oracle Linux and RHEL

Regular expression module with subexpression capture for Varnish Cache

License: BSD https://gitlab.com/uplex/varnish/libvmod-re

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+2.5
RHEL 9 Varnish 6.0 LTS 6.0.18+2.5
RHEL 8 Varnish 6.0 LTS 6.0.18+2.5
RHEL 7 Varnish 6.0 LTS 6.0.18+2.5

Description

Varnish Module (VMOD) for matching strings against regular expressions, and for extracting captured substrings after matches. Matching is equivalent to VCL's infix operator ~, but unlike standard VCL -- where capturing a backreference requires a second, less efficient regsub() over the whole subject -- this VMOD exposes captured subexpressions directly via .backref(), so one match is enough. Complements vmod-re2, which offers the Google RE2 engine (linear-time, but without backreference capture).

Built for AlmaLinux, Rocky Linux, Oracle Linux and RHEL.

Install

Varnish 6.0 LTS RHEL 7, 8, 9, 10

vmod-re 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 vmod-re

vmod-re 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 vmod-re

Package downloads require an active GetPageSpeed subscription — one repository for vmod-re and thousands more packages for AlmaLinux, Rocky Linux, Oracle Linux and RHEL.

Subscribe — from $10/mo

Frequently asked questions

How do I install vmod-re on AlmaLinux, Rocky Linux, Oracle Linux and RHEL?

Add the GetPageSpeed repository, then install the vmod-re package with your system package manager.

Which Enterprise Linux versions is vmod-re available for?

vmod-re is available for RHEL 7, 8, 9, 10.

Subscribe