Install Varnish Cache 6 for Apache/Nginx on CentOS 7 Step 1: Add EPEL repository Some of the dependencies to be installed require EPEL repository setup. Just run the following command to add EPEL to your CentOS 7 system. sudo yum install -y epel-release The “ -y ” means no prompt is given before a package is downloaded and installed. Step 2: Install Dependency packages We need to install pygpgme & yum-utils if the repository is added via repo management tool. sudo yum -y install pygpgme yum-utils Step 3: Add Varnish Cache repository In this step, we’re adding Varnish Cache repository for CentOS 7. Copy the commands below and paste them on the terminal. Use a user account with sudo access. sudo tee /etc/yum.repos.d/varnish60lts.repo<<EOF [varnish60lts] name=varnishcache_varnish60lts baseurl=https://packagecloud.io/varnishcache/varnish60lts/el/7/x86_64 repo_gpgcheck=1 gpgcheck=0 enabled=1 gpgkey=https://packagecloud.io/varnishcache/varnish60lts/gpgkey ssl...