Installation on RedHat
Varnish is distributed in the EPEL (Extra Packages for Enterprise Linux) package repositories. However, while EPEL allows new versions to be distributed, it does not allow for backwards-incompatible changes. Therefore, new major versions will not hit EPEL and it is therefore not necessarily up to date. If you require a newer major version than what is available in EPEL, you should use the repository provided by varnish-cache.org.
If you are on RHEL 5 or a compatible distribution, use
rpm --nosignature -i http://repo.varnish-cache.org/redhat/varnish-3.0/el5/noarch/varnish-release/varnish-release-3.0-1.el5.centos.noarch.rpm
For RHEL 6 and compatible distributions, use
rpm --nosignature -i http://repo.varnish-cache.org/redhat/varnish-3.0/el6/noarch/varnish-release/varnish-release-3.0-1.el6.noarch.rpm
and then run
yum install varnish
--no-signature is only needed on initial installation, since the Varnish GPG key is not yet in the yum keyring
Varnish 4.0 Release Party!
Celebrate with us on April 29th!
Commercial support from Varnish developers is available.