# Installer varnish avec Homebrew, apk, apt, dnf, MacPorts, Nix

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de varnish pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:varnish
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install varnish
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install varnish
```

  Preuve: MacPorts ports tree: www/varnish/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add varnish
```

  Preuve: Alpine Linux edge package indexes: varnish from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install varnish
```

  Preuve: Debian stable package indexes: varnish from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install varnish
```

  Preuve: Fedora Rawhide package metadata: varnish from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#varnish
```

  Preuve: nixpkgs package indexes: varnish from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

## Faits du paquet

- **Clé du paquet:** brew:varnish
- **Gestionnaire de paquets:** Homebrew
- **Version:** 9.0.3
- **Résumé source:** High-performance HTTP accelerator
- **Page d'accueil:** <https://www.varnish-cache.org/>
- **Dépôt:** <https://github.com/varnish/varnish>
- **Dernière mise à jour:** 2026-06-06T11:29:14Z
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- varnishadm (alias)
- varnishd (alias)
- varnishhist (alias)
- varnishlog (alias)
- varnishlog-json (alias)
- varnishncsa (alias)
- varnishstat (alias)
- varnishstat_help_gen (alias)
- varnishtest (alias)
- varnishtop (alias)
- vtest (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 9.0.3
## Historique du projet et usages

Varnish Cache is an HTTP accelerator and reverse caching proxy designed to sit in front of origin servers and serve cached responses from memory. It is best known for VCL, the Varnish Configuration Language, which lets operators encode cache policy as programmable configuration.

### Historique du projet

The project began from the operational needs of VG Nett, the online branch of the Norwegian newspaper Verdens Gang. In 2005 the site was serving more than 45 million page views per week and needed twelve servers; system administrator Anders Berg wrote a specification for a faster open-source HTTP accelerator. Anders Nordby helped bring in Danish FreeBSD developer Poul-Henning Kamp, VG funded the work, and Linpro supplied development and support infrastructure.

The first code was submitted to the Varnish Cache repository on February 22, 2006. Varnish 1.0 followed in September 2006 as the first production release of the high-performance HTTP accelerator. By that point VG had replaced its Squid layer and was reportedly running on Varnish alone, handling traffic spikes with three servers instead of twelve.

The project later developed a commercial ecosystem. Varnish Software was founded in 2010 after spinning out from Linpro and took over development and management around the open-source project while offering web-acceleration products and support. The open-source line continued through major releases such as 2.0 in 2008, 3.0 in 2011, and 4.0 in 2014, while commercial offerings such as Varnish Plus added enterprise storage, high availability, tuning, API acceleration, and TLS-related products.

### Historique d'adoption

Varnish was adopted by high-traffic publishers, social platforms, and content-heavy sites because it focused narrowly on origin-side HTTP acceleration rather than general proxying. Official history material highlights adoption stories including Facebook, WikiLeaks under severe traffic pressure in 2010, Varnish User Group meetings, and the publication of community learning material such as the Varnish Book.

Its architecture reflected a package-operator culture: fast in-memory caching, shared-memory logging, separately packaged observability tools, and command-line administration. The administrator documentation describes the normal deployment pattern as installing Varnish in front of any HTTP server, configuring cache policy, and using reference tools such as `varnishadm`, `varnishlog`, `varnishstat`, `varnishncsa`, `varnishhist`, and `varnishtop` to operate it.

### Modes d'utilisation

A typical Varnish deployment places `varnishd` between clients and an origin web server. Requests are answered from cache when possible and proxied to the origin otherwise. Cache policy is expressed in VCL, which official documentation describes as compiled into native code and run inside the worker, allowing policy decisions at line rate.

Package users usually care about the daemon, the default VCL path, system service integration, and the tooling suite. The same package often gives operators an interactive admin CLI, request logs, Apache-style access logging, real-time counters, histogram views, test tooling, and VCL validation, making Varnish feel more like a small HTTP-cache operating environment than a single binary.

### Pourquoi les passionnés de paquets s'y intéressent

Varnish matters in package-manager culture because it is a canonical example of a specialized Unix network daemon: small surface area, strong command-line tooling, a DSL for runtime policy, and a BSD-licensed open-source core that distributions can ship independently from commercial variants.

The modern branding has become more complex. The current Varnish site describes Varnish Cache as a distribution of the open-source Vinyl Cache project, with native TLS, containers, Helm charts, and long-term-support cadence layered around the original caching architecture. That transition is part of the stewardship story package maintainers now have to track.

### Chronologie

- 2005: VG Nett identifies the need for a faster open-source HTTP accelerator.
- 2006-02-22: First code is submitted to the Varnish Cache repository.
- 2006-09: Varnish 1.0 is released and VG is running on Varnish alone.
- 2008: Varnish 2.0 is released.
- 2010: Varnish Software is founded after spinning out from Linpro.
- 2011: Varnish 3.0 release helps anchor a growing community and release-party culture.
- 2014: Varnish Cache 4.0 and Varnish Plus-era commercial components expand the ecosystem.
- 2026: Official site describes Varnish Cache as a modern distribution of the open-source Vinyl Cache project.

### Related projects

- Squid is the older cache whose reverse-proxy use case helped motivate Varnish, but Varnish was designed specifically as an HTTP accelerator.
- Vinyl Cache is the open-source project named by the current Varnish site as the base for the Varnish Cache distribution.
- Varnish Software provides commercial products, support, and enterprise variants around the open-source cache.

### Sources

- Administrator documentation: https://varnish-cache.readthedocs.io/
- Official project site: https://www.varnish.org/
- Poul-Henning Kamp Varnish presentation: https://phk.freebsd.dk/pubs/varnish.pdf
- Varnish Software 10-year Q&A: https://info.varnish-software.com/blog/celebrating-10-years-of-varnish-cache-qa-with-the-man-behind-the-idea
- Varnish Software history timeline: https://varnish-software.teamtailor.com/pages/varnish-history?preview=true


## Notes de sécurité

formula declares a Homebrew service.

- **Risque Geiger:** orange / moyen
- formula declares a Homebrew service

## Autres enregistrements de gestionnaires de paquets

- Debian apt - libvarnishapi-dev - 7.7.0-3+deb13u1: normalized package name match | Debian stable package indexes: libvarnishapi-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | development files for Varnish | https://vinyl-cache.org/
- Debian apt - libvarnishapi3 - 7.7.0-3+deb13u1: normalized package name match | Debian stable package indexes: libvarnishapi3 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | shared libraries for Varnish | https://vinyl-cache.org/
- Debian apt - varnish - 7.7.0-3+deb13u1: normalized package name match | Debian stable package indexes: varnish from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | state of the art, high-performance web accelerator | https://vinyl-cache.org/
- Debian apt - varnish-doc - 7.7.0-3+deb13u1: normalized package name match | Debian stable package indexes: varnish-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | documentation for Varnish Cache | https://vinyl-cache.org/
- Nix - varnish: normalized package name match | nixpkgs package indexes: varnish from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- Ubuntu apt - libvarnishapi-dev - 7.1.1-1.1ubuntu1: normalized package name match | Ubuntu 24.04 LTS package indexes: libvarnishapi-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | development files for Varnish | https://www.varnish-cache.org/
- Ubuntu apt - libvarnishapi3 - 7.1.1-1.1ubuntu1: normalized package name match | Ubuntu 24.04 LTS package indexes: libvarnishapi3 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | shared libraries for Varnish | https://www.varnish-cache.org/
- Ubuntu apt - varnish - 7.1.1-1.1ubuntu1: normalized package name match | Ubuntu 24.04 LTS package indexes: varnish from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | state of the art, high-performance web accelerator | https://www.varnish-cache.org/
- Ubuntu apt - varnish-doc - 7.1.1-1.1ubuntu1: normalized package name match | Ubuntu 24.04 LTS package indexes: varnish-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | documentation for Varnish Cache | https://www.varnish-cache.org/
- apk - varnish - 9.0.3-r0: normalized package name match | Alpine Linux edge package indexes: varnish from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | High-performance HTTP accelerator | https://www.varnish-cache.org/
- apk - varnish-dbg - 9.0.3-r0: normalized package name match | Alpine Linux edge package indexes: varnish-dbg from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | High-performance HTTP accelerator (debug symbols) | https://www.varnish-cache.org/
- apk - varnish-dev - 9.0.3-r0: normalized package name match | Alpine Linux edge package indexes: varnish-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | High-performance HTTP accelerator (development files) | https://www.varnish-cache.org/
- apk - varnish-doc - 9.0.3-r0: normalized package name match | Alpine Linux edge package indexes: varnish-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | High-performance HTTP accelerator (documentation) | https://www.varnish-cache.org/
- apk - varnish-libs - 9.0.3-r0: normalized package name match | Alpine Linux edge package indexes: varnish-libs from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Libraries for varnish | https://www.varnish-cache.org/
- apk - varnish-openrc - 9.0.3-r0: normalized package name match | Alpine Linux edge package indexes: varnish-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | High-performance HTTP accelerator (OpenRC init scripts) | https://www.varnish-cache.org/
- dnf - varnish - 9.0.3-3.fc45: normalized package name match | Fedora Rawhide package metadata: varnish from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | High-performance HTTP accelerator | https://www.varnish-cache.org/


## Combined YAML source

View the package source record on GitHub. [combined/varnish.yml](https://github.com/mxcl/pkgdb/blob/main/combined/varnish.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
