How To Install varnish on Fedora 36

In this tutorial we learn how to install varnish in Fedora 36. varnish is High-performance HTTP accelerator

Introduction

In this tutorial we learn how to install varnish on Fedora 36.

What is varnish

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

We can use yum or dnf to install varnish on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install varnish.

Install varnish on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install varnish using dnf by running the following command:

sudo dnf -y install varnish

Install varnish on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install varnish using yum by running the following command:

sudo yum -y install varnish

How To Uninstall varnish on Fedora 36

To uninstall only the varnish package we can use the following command:

sudo dnf remove varnish

varnish Package Contents on Fedora 36

/etc/ld.so.conf.d/varnish-x86_64.conf
/etc/logrotate.d/varnish
/etc/varnish
/etc/varnish/default.vcl
/usr/bin/varnishadm
/usr/bin/varnishhist
/usr/bin/varnishlog
/usr/bin/varnishncsa
/usr/bin/varnishstat
/usr/bin/varnishstat_help_gen
/usr/bin/varnishtest
/usr/bin/varnishtop
/usr/lib/.build-id
/usr/lib/.build-id/18
/usr/lib/.build-id/18/901df3a833f12221a8f37faad59cf4e1a12793
/usr/lib/.build-id/19
/usr/lib/.build-id/19/38418aa1cbe6f37d85da381173b3d7365e32ae
/usr/lib/.build-id/24
/usr/lib/.build-id/24/b6005a61cdc303d9506276e19b3c0d9122d2c7
/usr/lib/.build-id/25
/usr/lib/.build-id/25/00bdff1436c24a1135874935b933b9374168e8
/usr/lib/.build-id/2a
/usr/lib/.build-id/2a/d2451776788dd81d5ed2aa3c8bd5a0d2d47416
/usr/lib/.build-id/2b
/usr/lib/.build-id/2b/8b3e6437aca3a8da1a83f0524c0fd42df25e47
/usr/lib/.build-id/59
/usr/lib/.build-id/59/f7aae381a21c7780844f90336d3b7ee69d5284
/usr/lib/.build-id/5d
/usr/lib/.build-id/5d/db6b7cbc0e191905a481ab487f172e6729196c
/usr/lib/.build-id/8f
/usr/lib/.build-id/8f/404eae90b039dabe6aeca8770ef9c204ab2fd7
/usr/lib/.build-id/98
/usr/lib/.build-id/98/e63c8e12e25d7ce14802e61f3cbbdbf38bf3ba
/usr/lib/.build-id/a4
/usr/lib/.build-id/a4/2286f13fb1ff4c5d31db2c31678e4ab39842d6
/usr/lib/.build-id/b2
/usr/lib/.build-id/b2/a2ed7c7ed44411579fea44fd55a84340120226
/usr/lib/.build-id/b5
/usr/lib/.build-id/b5/9b120709a4a55f2c81adda619e914df8f98dbc
/usr/lib/.build-id/bc
/usr/lib/.build-id/bc/576ae0c72e82f21789c7f7c27760d6ad743eb5
/usr/lib/.build-id/d5
/usr/lib/.build-id/d5/732f2873cfcf2b838addab49a1cf5abedee79e
/usr/lib/.build-id/d7
/usr/lib/.build-id/d7/fb6f73f6d2ba66636c9f910adf83deb8cbfd18
/usr/lib/.build-id/ec
/usr/lib/.build-id/ec/df89c9b41630d318f1d6d21d5cd9d57ba559bd
/usr/lib/.build-id/f7
/usr/lib/.build-id/f7/6dea294d18dffaa1514db785f0037882953e99
/usr/lib/.build-id/f7/771d9045b0d5644914fb2ed208618156e4d27b
/usr/lib/systemd/system/varnish.service
/usr/lib/systemd/system/varnishncsa.service
/usr/lib64/libvarnishapi.so.3
/usr/lib64/libvarnishapi.so.3.0.0
/usr/lib64/varnish
/usr/lib64/varnish/vmods
/usr/lib64/varnish/vmods/libvmod_blob.so
/usr/lib64/varnish/vmods/libvmod_cookie.so
/usr/lib64/varnish/vmods/libvmod_debug.so
/usr/lib64/varnish/vmods/libvmod_directors.so
/usr/lib64/varnish/vmods/libvmod_proxy.so
/usr/lib64/varnish/vmods/libvmod_purge.so
/usr/lib64/varnish/vmods/libvmod_std.so
/usr/lib64/varnish/vmods/libvmod_unix.so
/usr/lib64/varnish/vmods/libvmod_vtc.so
/usr/sbin/varnishd
/usr/sbin/varnishreload
/usr/share/doc/varnish
/usr/share/doc/varnish/ChangeLog
/usr/share/doc/varnish/README.rst
/usr/share/doc/varnish/builtin.vcl
/usr/share/doc/varnish/example.vcl
/usr/share/licenses/varnish
/usr/share/licenses/varnish/LICENSE
/usr/share/man/man1/varnishadm.1.gz
/usr/share/man/man1/varnishd.1.gz
/usr/share/man/man1/varnishhist.1.gz
/usr/share/man/man1/varnishlog.1.gz
/usr/share/man/man1/varnishncsa.1.gz
/usr/share/man/man1/varnishstat.1.gz
/usr/share/man/man1/varnishtest.1.gz
/usr/share/man/man1/varnishtop.1.gz
/usr/share/man/man3/vmod_blob.3.gz
/usr/share/man/man3/vmod_cookie.3.gz
/usr/share/man/man3/vmod_directors.3.gz
/usr/share/man/man3/vmod_proxy.3.gz
/usr/share/man/man3/vmod_purge.3.gz
/usr/share/man/man3/vmod_std.3.gz
/usr/share/man/man3/vmod_unix.3.gz
/usr/share/man/man3/vmod_vtc.3.gz
/usr/share/man/man7/varnish-cli.7.gz
/usr/share/man/man7/varnish-counters.7.gz
/usr/share/man/man7/vcl-backend.7.gz
/usr/share/man/man7/vcl-probe.7.gz
/usr/share/man/man7/vcl-var.7.gz
/usr/share/man/man7/vcl.7.gz
/usr/share/man/man7/vsl-query.7.gz
/usr/share/man/man7/vsl.7.gz
/usr/share/man/man7/vtc.7.gz
/var/lib/varnish
/var/log/varnish

References

Summary

In this tutorial we learn how to install varnish on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).


title: “How To Install varnish on Fedora 36” linkTitle: “varnish” type: “docs” description: “In this tutorial we learn how to install varnish in Fedora 36. varnish is High-performance HTTP accelerator” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/varnish-featured.png

Introduction

In this tutorial we learn how to install varnish on Fedora 36.

What is varnish

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

We can use yum or dnf to install varnish on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install varnish.

Install varnish on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install varnish using dnf by running the following command:

sudo dnf -y install varnish

Install varnish on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install varnish using yum by running the following command:

sudo yum -y install varnish

How To Uninstall varnish on Fedora 36

To uninstall only the varnish package we can use the following command:

sudo dnf remove varnish

varnish Package Contents on Fedora 36

/etc/ld.so.conf.d/varnish-i386.conf
/etc/logrotate.d/varnish
/etc/varnish
/etc/varnish/default.vcl
/usr/bin/varnishadm
/usr/bin/varnishhist
/usr/bin/varnishlog
/usr/bin/varnishncsa
/usr/bin/varnishstat
/usr/bin/varnishstat_help_gen
/usr/bin/varnishtest
/usr/bin/varnishtop
/usr/lib/.build-id
/usr/lib/.build-id/14
/usr/lib/.build-id/14/cfd8cdb17bb192d4f2aed403e01d4c4914182b
/usr/lib/.build-id/20
/usr/lib/.build-id/20/d9e78daf89eb76db91d2638ee7707c4e2c7247
/usr/lib/.build-id/23
/usr/lib/.build-id/23/a816a337ec8621c185a14d8f310a694fd6c87e
/usr/lib/.build-id/3f
/usr/lib/.build-id/3f/f3cc753765b9b73c2f20e4c9a09799df614aa4
/usr/lib/.build-id/4b
/usr/lib/.build-id/4b/6a660ae3659df0a1346be45a00d8d8e4eab467
/usr/lib/.build-id/50
/usr/lib/.build-id/50/e42b036cac24ec8423b94ef6d6d9ff056361f8
/usr/lib/.build-id/58
/usr/lib/.build-id/58/f5d411c441248c27609d1e9cf5ac721794af54
/usr/lib/.build-id/6b
/usr/lib/.build-id/6b/c04f410d87e4e77e4fd89b68a0fd329e1c9527
/usr/lib/.build-id/6c
/usr/lib/.build-id/6c/2588f6e6857b231be6587d9f7f8967806c8a94
/usr/lib/.build-id/89
/usr/lib/.build-id/89/59515f21761147822b2d90c2329fe93ddf0381
/usr/lib/.build-id/b2
/usr/lib/.build-id/b2/e45118e2de99e72d7f4618c39646823e74f272
/usr/lib/.build-id/b3
/usr/lib/.build-id/b3/3496d608be034c6d6998ad1ae6ff7e3688e54d
/usr/lib/.build-id/c9
/usr/lib/.build-id/c9/034b0b3ecef60b366214e01eaf637d0a445c89
/usr/lib/.build-id/d2
/usr/lib/.build-id/d2/5a6c5b932c49b4a810bc4fe798f9ce8c7b3bf1
/usr/lib/.build-id/d6
/usr/lib/.build-id/d6/48310e8b7133fbe4b81a88e2980717ceca5703
/usr/lib/.build-id/de
/usr/lib/.build-id/de/7957a4457032b58f01f13500d1ebeb80c93ab8
/usr/lib/.build-id/de/e74fba3735fd9849cbf5754a157a80792b63c4
/usr/lib/.build-id/f2
/usr/lib/.build-id/f2/d09d3ee0a6acbfefc7631da2bfecd1f5252b56
/usr/lib/.build-id/f9
/usr/lib/.build-id/f9/2fd59eae5d5a08a3155a4bfd976ada9f45209b
/usr/lib/libvarnishapi.so.3
/usr/lib/libvarnishapi.so.3.0.0
/usr/lib/systemd/system/varnish.service
/usr/lib/systemd/system/varnishncsa.service
/usr/lib/varnish
/usr/lib/varnish/vmods
/usr/lib/varnish/vmods/libvmod_blob.so
/usr/lib/varnish/vmods/libvmod_cookie.so
/usr/lib/varnish/vmods/libvmod_debug.so
/usr/lib/varnish/vmods/libvmod_directors.so
/usr/lib/varnish/vmods/libvmod_proxy.so
/usr/lib/varnish/vmods/libvmod_purge.so
/usr/lib/varnish/vmods/libvmod_std.so
/usr/lib/varnish/vmods/libvmod_unix.so
/usr/lib/varnish/vmods/libvmod_vtc.so
/usr/sbin/varnishd
/usr/sbin/varnishreload
/usr/share/doc/varnish
/usr/share/doc/varnish/ChangeLog
/usr/share/doc/varnish/README.rst
/usr/share/doc/varnish/builtin.vcl
/usr/share/doc/varnish/example.vcl
/usr/share/licenses/varnish
/usr/share/licenses/varnish/LICENSE
/usr/share/man/man1/varnishadm.1.gz
/usr/share/man/man1/varnishd.1.gz
/usr/share/man/man1/varnishhist.1.gz
/usr/share/man/man1/varnishlog.1.gz
/usr/share/man/man1/varnishncsa.1.gz
/usr/share/man/man1/varnishstat.1.gz
/usr/share/man/man1/varnishtest.1.gz
/usr/share/man/man1/varnishtop.1.gz
/usr/share/man/man3/vmod_blob.3.gz
/usr/share/man/man3/vmod_cookie.3.gz
/usr/share/man/man3/vmod_directors.3.gz
/usr/share/man/man3/vmod_proxy.3.gz
/usr/share/man/man3/vmod_purge.3.gz
/usr/share/man/man3/vmod_std.3.gz
/usr/share/man/man3/vmod_unix.3.gz
/usr/share/man/man3/vmod_vtc.3.gz
/usr/share/man/man7/varnish-cli.7.gz
/usr/share/man/man7/varnish-counters.7.gz
/usr/share/man/man7/vcl-backend.7.gz
/usr/share/man/man7/vcl-probe.7.gz
/usr/share/man/man7/vcl-var.7.gz
/usr/share/man/man7/vcl.7.gz
/usr/share/man/man7/vsl-query.7.gz
/usr/share/man/man7/vsl.7.gz
/usr/share/man/man7/vtc.7.gz
/var/lib/varnish
/var/log/varnish

References

Summary

In this tutorial we learn how to install varnish on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).