# 使用 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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
- **版本:** 8.18.4
- **来源摘要:** Image processing library
- **主页:** <https://github.com/libvips/libvips>
- **仓库:** <https://github.com/libvips/libvips>
- **最后更新:** 2026-07-29T23:04:14Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

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

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 8.18.4
## 项目历史与用法

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

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

- 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/


## 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
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
