pkg.soopen package index

brew / 排名 4382

使用 Homebrew, apk, apt, dnf, MacPorts, Nix 安装 varnish

查看 varnish 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install varnish

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install varnish

MacPorts ports tree · www/varnish/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add varnish

Alpine Linux edge package indexes · varnish · 来源: dl-cdn.alpinelinux.org

Debian apt已验证 · 92%
sudo apt install varnish

Debian stable package indexes · varnish · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install varnish

Fedora Rawhide package metadata · varnish · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#varnish

nixpkgs package indexes · varnish · 来源: raw.githubusercontent.com

概览

软件包摘要

High-performance HTTP accelerator

命令和别名

  • varnishadm
  • varnishd
  • varnishhist
  • varnishlog
  • varnishlog-json
  • varnishncsa
  • varnishstat
  • varnishstat_help_gen
  • varnishtest
  • varnishtop
  • vtest

历史

项目历史与用法

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.

项目历史

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.

采用历史

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.

使用方式

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.

为什么软件包爱好者会关心

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.

时间线

  • 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.

来源

  • 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

安全态势

风险级别:orange

formula declares a Homebrew service.

风险分类器

orange 风险 · 中 置信度 · infrastructure

原因

  • formula declares a Homebrew service

信号

  • metadata:service

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
varnishadm可执行文件已索引可执行文件从本地可执行文件索引发现。
varnishd可执行文件已索引可执行文件从本地可执行文件索引发现。
varnishhist可执行文件已索引可执行文件从本地可执行文件索引发现。
varnishlog可执行文件已索引可执行文件从本地可执行文件索引发现。
varnishlog-json可执行文件已索引可执行文件从本地可执行文件索引发现。
varnishncsa可执行文件已索引可执行文件从本地可执行文件索引发现。
varnishstat可执行文件已索引可执行文件从本地可执行文件索引发现。
varnishstat_help_gen可执行文件已索引可执行文件从本地可执行文件索引发现。
varnishtest可执行文件已索引可执行文件从本地可执行文件索引发现。
varnishtop可执行文件已索引可执行文件从本地可执行文件索引发现。
vtest可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-03
管理器版本9.0.3
管理器更新时间2026-06-06
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:varnish
版本9.0.3
软件包管理器Homebrew
主页https://www.varnish-cache.org/
仓库https://github.com/varnish/varnish
最后更新2026-06-06T11:29:14Z
Pulseupdated
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

libvarnishapi-dev 7.7.0-3+deb13u1

development files for Varnish

https://vinyl-cache.org/

sudo apt install libvarnishapi-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: varnish
  • 2 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Varnish
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libvarnishapi-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libvarnishapi3 7.7.0-3+deb13u1

shared libraries for Varnish

https://vinyl-cache.org/

sudo apt install libvarnishapi3
  • Section: libs
  • Architecture: amd64
  • Source Package: varnish
  • 2 依赖
  • normalized package name match
  • 匹配方式:Varnish
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libvarnishapi3 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

varnish 7.7.0-3+deb13u1

state of the art, high-performance web accelerator

https://vinyl-cache.org/

sudo apt install varnish
  • Section: web
  • Architecture: amd64
  • 14 依赖
  • 2 提供
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Varnish
Debian stable package indexes · deb.debian.org · Debian stable package indexes: varnish from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

varnish-doc 7.7.0-3+deb13u1

documentation for Varnish Cache

https://vinyl-cache.org/

sudo apt install varnish-doc
  • Section: doc
  • Architecture: all
  • Source Package: varnish
  • 3 依赖
  • normalized package name match
  • 匹配方式:Varnish
Debian stable package indexes · deb.debian.org · Debian stable package indexes: varnish-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

varnish

nix profile install nixpkgs#varnish
  • normalized package name match
  • 匹配方式:Varnish
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: varnish from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
Ubuntu apt95%

libvarnishapi-dev 7.1.1-1.1ubuntu1

development files for Varnish

https://www.varnish-cache.org/

sudo apt install libvarnishapi-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: varnish
  • 2 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Varnish
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libvarnishapi-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libvarnishapi3 7.1.1-1.1ubuntu1

shared libraries for Varnish

https://www.varnish-cache.org/

sudo apt install libvarnishapi3
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: varnish
  • 2 依赖
  • normalized package name match
  • 匹配方式:Varnish
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libvarnishapi3 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

varnish 7.1.1-1.1ubuntu1

state of the art, high-performance web accelerator

https://www.varnish-cache.org/

sudo apt install varnish
  • Section: universe/web
  • Architecture: amd64
  • 12 依赖
  • 2 提供
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Varnish
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: varnish from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

varnish-doc 7.1.1-1.1ubuntu1

documentation for Varnish Cache

https://www.varnish-cache.org/

sudo apt install varnish-doc
  • Section: universe/doc
  • Architecture: all
  • Source Package: varnish
  • 2 依赖
  • normalized package name match
  • 匹配方式:Varnish
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: varnish-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

varnish 9.0.3-r0

High-performance HTTP accelerator

https://www.varnish-cache.org/

sudo apk add varnish
  • License: BSD-2-Clause
  • Architecture: x86_64
  • Source Package: varnish
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Varnish
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: varnish from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

varnish-dbg 9.0.3-r0

High-performance HTTP accelerator (debug symbols)

https://www.varnish-cache.org/

sudo apk add varnish-dbg
  • License: BSD-2-Clause
  • Architecture: x86_64
  • Source Package: varnish
  • 1 依赖
  • normalized package name match
  • 匹配方式:Varnish
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: varnish-dbg from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

varnish-dev 9.0.3-r0

High-performance HTTP accelerator (development files)

https://www.varnish-cache.org/

sudo apk add varnish-dev
  • License: BSD-2-Clause
  • Architecture: x86_64
  • Source Package: varnish
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Varnish
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: varnish-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

varnish-doc 9.0.3-r0

High-performance HTTP accelerator (documentation)

https://www.varnish-cache.org/

sudo apk add varnish-doc
  • License: BSD-2-Clause
  • Architecture: x86_64
  • Source Package: varnish
  • normalized package name match
  • 匹配方式:Varnish
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: varnish-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

varnish-libs 9.0.3-r0

Libraries for varnish

https://www.varnish-cache.org/

sudo apk add varnish-libs
  • License: BSD-2-Clause
  • Architecture: x86_64
  • Source Package: varnish
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Varnish
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: varnish-libs from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

varnish-openrc 9.0.3-r0

High-performance HTTP accelerator (OpenRC init scripts)

https://www.varnish-cache.org/

sudo apk add varnish-openrc
  • License: BSD-2-Clause
  • Architecture: x86_64
  • Source Package: varnish
  • normalized package name match
  • 匹配方式:Varnish
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: varnish-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf95%

varnish 9.0.3-3.fc45

High-performance HTTP accelerator

https://www.varnish-cache.org/

sudo dnf install varnish
  • License: BSD-2-Clause AND (BSD-2-Clause-FreeBSD AND BSD-3-Clause AND LicenseRef-Fedora-Public-Domain AND Zlib)
  • Category: Unspecified
  • Architecture: i686
  • Source Package: varnish
  • 22 依赖
  • 7 提供
  • normalized package name match
  • 匹配方式:Varnish
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: varnish from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

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