GetPageSpeed Extras

varnish

How to install varnish on AlmaLinux, Rocky Linux, Oracle Linux and RHEL

High-performance HTTP accelerator

License: BSD https://varnish-cache.org

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
RHEL 9 Varnish 6.0 LTS 6.0.18
RHEL 8 Varnish 6.0 LTS 6.0.18
RHEL 7 Base 4.1.11
Varnish 6.0 LTS 6.0.18
RHEL 6 Varnish 6.0 LTS 6.0.7

Description

This is Varnish Cache, a high-performance HTTP accelerator. Varnish Cache stores web pages in memory so web servers don’t have to create the same web page over and over again. Varnish Cache serves pages much faster than any application server; giving the website a significant speed up. Documentation wiki and additional information about Varnish Cache is available on: https://www.varnish-cache.org/

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

Install

Base RHEL 7

varnish 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
Varnish 6.0 LTS RHEL 6, 7, 8, 9, 10

varnish 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

varnish 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

varnish 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

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

Subscribe — from $10/mo

Frequently asked questions

How do I install varnish on AlmaLinux, Rocky Linux, Oracle Linux and RHEL?

Add the GetPageSpeed repository, then install the varnish package with your system package manager.

Which Enterprise Linux versions is varnish available for?

varnish is available for RHEL 6, 7, 8, 9, 10.

Subscribe