# 使用 Homebrew, apk, dnf, MacPorts, Nix, apt, zypper 安装 vips

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

## 安装

```sh
sudo av install brew:vips
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install vips
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install vips
```

  证据: MacPorts ports tree: graphics/vips/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add vips
```

  证据: Alpine Linux edge package indexes: vips from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- dnf (92%):

```sh
sudo dnf install vips
```

  证据: Fedora Rawhide package metadata: vips from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#vips
```

  证据: nixpkgs package indexes: pkgs/by-name/vi/vips/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- Debian apt (92%):

```sh
sudo apt install gir1.2-vips-8.0
```

  证据: Debian stable package indexes: gir1.2-vips-8.0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- zypper (92%):

```sh
sudo zypper install libvips-devel
```

  证据: openSUSE Tumbleweed package metadata: libvips-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## 软件包事实

- **软件包键:** brew:vips
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/vips>
- **版本:** 8.18.5
- **来源摘要:** Image processing library
- **主页:** <https://github.com/libvips/libvips>
- **仓库:** <https://github.com/libvips/libvips>
- **许可证:** LGPL-2.1-or-later
- **源码归档:** <https://github.com/libvips/libvips/releases/download/v8.18.5/vips-8.18.5.tar.xz>
- **最后更新:** 2026-08-03T19:05:21Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- vips (cli)
- vipsedit (cli)
- vipsheader (cli)
- vipsthumbnail (cli)
- vips (别名)
- vipsedit (别名)
- vipsheader (别名)
- vipsthumbnail (别名)

## 依赖

- cairo
- cfitsio
- cgif
- fftw
- fontconfig
- gettext
- glib
- highway
- imagemagick
- jpeg-xl
- libarchive
- libexif
- libheif
- libimagequant
- libmatio
- libpng
- libraw
- librsvg
- libtiff
- libultrahdr
- little-cms2
- mozjpeg
- openexr
- openjpeg
- openslide
- pango
- poppler
- webp

## 构建依赖

- gettext
- gobject-introspection
- meson
- ninja
- pkgconf

## macOS 提供的库

- expat

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 8.18.5
- 管理器更新时间: 2026-08-03
- 本地数据: OK
- 上游仓库: https://github.com/libvips/libvips
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

libvips is a demand-driven, horizontally threaded image-processing library known for fast processing of large images with low memory use. It exposes C, C++, command-line tools, and bindings across languages, and is widely used as an engine underneath higher-level web, archival, and application image stacks.

### 项目历史

The VIPS lineage predates the libvips GitHub repository by decades. The project's own history traces ideas to Kirk Martinez's PhD software from 1986 onward and serious development to the VASARI project, which began in July 1989, with John Cupitt as a key programmer. Early design notes emphasized integer arithmetic, optimized inner loops, pointer-oriented image access, disk layout, and algorithm choice, all themes that still match libvips' performance identity.

The first major VIPS paper was 'VIPS: An image processing system for large images' by Cupitt and Martinez in SPIE proceedings in 1996, followed by a 2005 IEEE International Conference on Image Processing paper on VIPS as a highly tuned image-processing software architecture. The project history credits continuous EU research funding across imaging, printing, search/retrieval, 3D imaging, and web-viewing work, followed by open-source community contributions that stabilized and broadened the library.

### 采用历史

libvips moved from research and cultural-heritage imaging into mainstream package ecosystems by becoming the engine for image processing stacks such as sharp for Node.js, bimg, imgproxy, MediaWiki thumbnailing, Rails Active Storage pathways, CarrierWave integrations, and other services listed by the project. Its project wiki also notes use in PARSEC as a benchmark for parallel systems and in high-resolution image browsing/archive workflows.

The modern GitHub project remains active, with the public repository created in January 2011 and release metadata showing continued 8.x maintenance into 2026. The repository had more than eleven thousand stars and hundreds of forks at lookup time, but the stronger adoption signal is the presence of libvips behind high-volume wrappers and web image services.

### 使用方式

The typical libvips usage pattern is batch or service-side image transformation: load an image or stream, construct a pipeline of operations, and let libvips evaluate the necessary regions with low memory overhead. Common tasks include thumbnails, resizing, format conversion, DeepZoom pyramids, color management, convolution, morphology, statistics, and large TIFF/scientific image handling.

Package users encounter it both directly through commands such as vips, vipsheader, vipsthumbnail, and vipsedit, and indirectly through bindings such as pyvips, ruby-vips, NetVips, php-vips, and sharp. In package-nerd terms, libvips is the small, fast native engine that lets higher-level ecosystems avoid routing every resize or thumbnail job through heavier image stacks.

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

libvips is significant because it occupies a different design point from ImageMagick-style whole-image processing: it streams demand-driven regions through horizontally threaded pipelines, minimizing memory pressure and synchronization. That makes it especially attractive to package ecosystems that process untrusted, user-supplied, or very large images at server scale.

It also has unusual continuity: a 1980s/1990s research-image-processing system that survived into modern package managers, language bindings, web frameworks, and containerized services without losing its niche identity around speed and memory behavior.

### 时间线

- 1986: VIPS roots begin in Kirk Martinez's PhD-era image-processing software.
- 1989-07: Serious VIPS development begins with the VASARI project.
- 1996: Cupitt and Martinez publish 'VIPS: An image processing system for large images.'
- 2005: Martinez and Cupitt publish a paper on the VIPS software architecture at IEEE ICIP.
- 2011-01: The libvips/libvips GitHub repository is created.
- 2026: The 8.18.x release series is active, with current API docs published for Vips 8.0 / library 8.18 during this run.

### Related projects

- Related projects include nip4/nip2 graphical front ends, vipsdisp, sharp, pyvips, ruby-vips, NetVips, imgproxy, bimg, MediaWiki VipsScaler/Thumbro, OpenSlide/IIPImage/OpenSeadragon image-pyramid workflows, and PARSEC.

### 来源

- <https://github.com/libvips/libvips>
- <https://github.com/libvips/libvips/wiki/Projects-using-libvips>
- <https://github.com/libvips/libvips/wiki/Speed-and-memory-use>
- <https://github.com/libvips/libvips/wiki/VIPS-History>
- <https://github.com/libvips/libvips/wiki/Why-is-libvips-quick>
- <https://www.libvips.org/API/current>


## 安全说明

broad file, network, media, or database tool signal.

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** vips
- **Aliases:** libvips
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## 其他软件包管理器记录

- Debian apt - gir1.2-vips-8.0 - 8.16.1-1+deb13u1: normalized package name match | Debian stable package indexes: gir1.2-vips-8.0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GObject introspection data for VIPS | https://libvips.github.io/libvips/
- Debian apt - libvips-dev - 8.16.1-1+deb13u1: normalized package name match | Debian stable package indexes: libvips-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | image processing system good for very large ones (dev) | https://libvips.github.io/libvips/
- Debian apt - libvips-doc - 8.16.1-1+deb13u1: normalized package name match | Debian stable package indexes: libvips-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | image processing system good for very large ones (doc) | https://libvips.github.io/libvips/
- Debian apt - libvips-tools - 8.16.1-1+deb13u1: normalized package name match | Debian stable package indexes: libvips-tools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | image processing system good for very large ones (tools) | https://libvips.github.io/libvips/
- Debian apt - libvips42t64 - 8.16.1-1+deb13u1: normalized package name match | Debian stable package indexes: libvips42t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | image processing system good for very large ones | https://libvips.github.io/libvips/
- Nix - vips: normalized package name match | nixpkgs package indexes: pkgs/by-name/vi/vips/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - gir1.2-vips-8.0 - 8.15.1-1.1build4: normalized package name match | Ubuntu 24.04 LTS package indexes: gir1.2-vips-8.0 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | GObject introspection data for VIPS | https://libvips.github.io/libvips/
- Ubuntu apt - libvips-dev - 8.15.1-1.1build4: normalized package name match | Ubuntu 24.04 LTS package indexes: libvips-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | image processing system good for very large ones (dev) | https://libvips.github.io/libvips/
- Ubuntu apt - libvips-doc - 8.15.1-1.1build4: normalized package name match | Ubuntu 24.04 LTS package indexes: libvips-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | image processing system good for very large ones (doc) | https://libvips.github.io/libvips/
- Ubuntu apt - libvips-tools - 8.15.1-1.1build4: normalized package name match | Ubuntu 24.04 LTS package indexes: libvips-tools from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | image processing system good for very large ones (tools) | https://libvips.github.io/libvips/
- Ubuntu apt - libvips42t64 - 8.15.1-1.1build4: normalized package name match | Ubuntu 24.04 LTS package indexes: libvips42t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | image processing system good for very large ones | https://libvips.github.io/libvips/
- apk - vips - 8.18.4-r1: normalized package name match | Alpine Linux edge package indexes: vips from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | fast image processing library with low memory needs | https://www.libvips.org/
- apk - vips-cpp - 8.18.4-r1: normalized package name match | Alpine Linux edge package indexes: vips-cpp from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | vips (c++ library) | https://www.libvips.org/
- apk - vips-dev - 8.18.4-r1: normalized package name match | Alpine Linux edge package indexes: vips-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | fast image processing library with low memory needs (development files) | https://www.libvips.org/
- apk - vips-doc - 8.18.4-r1: normalized package name match | Alpine Linux edge package indexes: vips-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | fast image processing library with low memory needs (documentation) | https://www.libvips.org/
- apk - vips-heif - 8.18.4-r1: normalized package name match | Alpine Linux edge package indexes: vips-heif from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Libheif support for vips | https://www.libvips.org/


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://pkg.so/zh-hans/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [glib](https://pkg.so/zh-hans/brew/glib/) - Runtime dependency declared by Homebrew.
- [gettext](https://pkg.so/zh-hans/brew/gettext/) - Runtime dependency declared by Homebrew.
- [libpng](https://pkg.so/zh-hans/brew/libpng/) - Runtime dependency declared by Homebrew.
- [fontconfig](https://pkg.so/zh-hans/brew/fontconfig/) - Runtime dependency declared by Homebrew.
- [libtiff](https://pkg.so/zh-hans/brew/libtiff/) - Runtime dependency declared by Homebrew.
- [little-cms2](https://pkg.so/zh-hans/brew/little-cms2/) - Runtime dependency declared by Homebrew.
- [openexr](https://pkg.so/zh-hans/brew/openexr/) - Runtime dependency declared by Homebrew.
- [pango](https://pkg.so/zh-hans/brew/pango/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://pkg.so/zh-hans/brew/pkgconf/) - Build dependency declared by Homebrew.
- [ninja](https://pkg.so/zh-hans/brew/ninja/) - Build dependency declared by Homebrew.
- [meson](https://pkg.so/zh-hans/brew/meson/) - Build dependency declared by Homebrew.
- [netlify-cli](https://pkg.so/zh-hans/brew/netlify-cli/) - Popular package that depends on this formula.
- [appium](https://pkg.so/zh-hans/brew/appium/) - Popular package that depends on this formula.
- [pake](https://pkg.so/zh-hans/brew/pake/) - Popular package that depends on this formula.
- [letta-code](https://pkg.so/zh-hans/brew/letta-code/) - Popular package that depends on this formula.
- [joplin-cli](https://pkg.so/zh-hans/brew/joplin-cli/) - Popular package that depends on this formula.
- [imgproxy](https://pkg.so/zh-hans/brew/imgproxy/) - Popular package that depends on this formula.
- [faircamp](https://pkg.so/zh-hans/brew/faircamp/) - Popular package that depends on this formula.
- [nip4](https://pkg.so/zh-hans/brew/nip4/) - Popular package that depends on this formula.
- [jasper](https://pkg.so/zh-hans/brew/jasper/) - Shares pkgdb curated category or tags: c, cli, image-processing, library, media.
- [gd](https://pkg.so/zh-hans/brew/gd/) - Shares pkgdb curated category or tags: c, cli, image-processing, library, media.
- [imagemagick](https://pkg.so/zh-hans/brew/imagemagick/) - Shares pkgdb curated category or tags: cli, image-processing, library, media.
- [alsa-lib](https://pkg.so/zh-hans/brew/alsa-lib/) - Shares pkgdb curated category or tags: c, cli, library, media.

## Combined YAML source

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


## 来源

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