# 使用 Homebrew, apk, dnf, MacPorts, Nix, pacman, zypper 安装 vtk

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

## 安装

```sh
sudo av install brew:vtk
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install vtk
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install vtk
```

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

### Linux

- apk (92%):

```sh
sudo apk add vtk
```

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

- dnf (92%):

```sh
sudo dnf install vtk
```

  证据: Fedora Rawhide package metadata: vtk 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#vtk
```

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

- pacman (92%):

```sh
sudo pacman -S vtk
```

  证据: Arch Linux sync databases: vtk from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install libvtk1
```

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

## 软件包事实

- **软件包键:** brew:vtk
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/vtk>
- **版本:** 9.6.2
- **来源摘要:** Toolkit for 3D computer graphics, image processing, and visualization
- **主页:** <https://www.vtk.org/>
- **上游文档:** <https://www.vtk.org/>
- **许可证:** BSD-3-Clause
- **源码归档:** <https://www.vtk.org/files/release/9.6/VTK-9.6.2.tar.gz>
- **最后更新:** 2026-07-11T20:15:27-04:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- vtkParseJava-9.6 (cli)
- vtkProbeOpenGLVersion-9.6 (cli)
- vtkWrapHierarchy-9.6 (cli)
- vtkWrapJava-9.6 (cli)
- vtkWrapJavaScript-9.6 (cli)
- vtkWrapPython-9.6 (cli)
- vtkWrapPythonInit-9.6 (cli)
- vtkWrapSerDes-9.6 (cli)
- vtkpython (cli)
- vtkParseJava-9.6 (别名)
- vtkProbeOpenGLVersion-9.6 (别名)
- vtkWrapHierarchy-9.6 (别名)
- vtkWrapJava-9.6 (别名)
- vtkWrapJavaScript-9.6 (别名)
- vtkWrapPython-9.6 (别名)
- vtkWrapPythonInit-9.6 (别名)
- vtkWrapSerDes-9.6 (别名)
- vtkpython (别名)

## 依赖

- boost
- cgns
- double-conversion
- eigen
- fontconfig
- freetype
- hdf5
- jpeg-turbo
- jsoncpp
- libharu
- libogg
- libpng
- libtiff
- lz4
- netcdf
- nlohmann-json
- proj
- pugixml
- python@3.14
- qtbase
- qtdeclarative
- sqlite
- theora
- utf8cpp
- xz

## 构建依赖

- cmake

## macOS 提供的库

- expat
- libxml2

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 9.6.2
- 管理器更新时间: 2026-07-11
- 本地数据: OK
- 上游仓库: https://www.vtk.org/
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

The Visualization Toolkit, usually called VTK, is a long-running open-source system for 3D graphics, modeling, image processing, volume rendering, scientific visualization, and 2D plotting. It is a C++ toolkit with language bindings, especially Python, and is used as a visualization foundation in research, engineering, medical imaging, and commercial applications.

### 项目历史

VTK began in December 1993 as companion software for the textbook `The Visualization Toolkit: An Object-Oriented Approach to 3D Graphics`. Will Schroeder, Ken Martin, and Bill Lorensen wrote the book and software on their own time while at GE R&D, with permission, to create an open framework for advanced visualization and graphics applications.

VTK grew out of the authors' earlier graphics and visualization work at GE and was shaped by systems such as LYMB, VISAGE, Clockworks, and object-oriented modeling ideas. After the core was written, users and developers from GE Medical Systems, research labs, universities, oil and gas, and other domains began applying it to real problems and extending the code.

### 采用历史

In 1998, Ken Martin and Will Schroeder, together with Lisa Avila, Charles Law, and Bill Hoffman, left GE to found Kitware in order to support the growing VTK community. Since then, Kitware and hundreds of outside contributors have maintained VTK as a central open-source visualization platform, with major institutional participation from groups such as Sandia National Laboratories, Los Alamos, the Department of Energy ASC program, the National Library of Medicine, and the Army Research Laboratory.

### 使用方式

VTK applications are usually built as visualization pipelines: data objects flow through filters, mappers, renderers, widgets, and interaction components. Developers use it from C++ when they need maximum control and from Python when they want rapid scientific or data-processing workflows, while VTK's file formats and wrapping tools make it a common bridge between compiled simulation codes and exploratory visualization.

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

For package maintainers, VTK is significant because it is both a library stack and an ecosystem anchor. It underpins tools such as ParaView and many scientific applications, has a large module surface, exposes compiled wrappers, tracks graphics back ends and data formats over decades, and tends to stress build systems, ABI compatibility, and binary packaging more than small command-line tools do.

### 时间线

- 1993-12: Work begins on the textbook companion software that became VTK.
- 1994: Early public VTK releases follow the textbook/software effort.
- 1998: Kitware is founded to support the growing VTK community.
- 2015-02-27: Current Kitware GitLab project record for `vtk/vtk` was created.
- 2020s: VTK continues adding modern rendering, Python, WebAssembly, WebGPU, data-format, and high-performance visualization features.

### Related projects

- Kitware is VTK's principal steward and commercial support organization.
- ParaView, VTK.js, trame, medical-imaging tools, engineering post-processors, and many research applications build on VTK concepts or code.

### 来源

- <https://docs.vtk.org/en/latest/index.html - official documentation index and current feature/release surface.>
- <https://gitlab.kitware.com/api/v4/projects/vtk%2Fvtk - Kitware GitLab project metadata.>
- <https://vtk.org/ - official project homepage describing scope and worldwide use.>
- <https://vtk.org/about/ - official overview, history, features, participants, and licensing.>


## 安全说明

没有找到 vtk 的匹配本地密钥处理 manifest。软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 源数据库详情

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

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

- Nix - vtk: normalized package name match | nixpkgs package indexes: vtk from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- apk - vtk - 9.5.2-r2: normalized package name match | Alpine Linux edge package indexes: vtk from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A software system for 3D computer graphics, image processing and visualization | https://vtk.org/
- apk - vtk-dev - 9.5.2-r2: normalized package name match | Alpine Linux edge package indexes: vtk-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A software system for 3D computer graphics, image processing and visualization (development files) | https://vtk.org/
- apk - vtk-doc - 9.5.2-r2: normalized package name match | Alpine Linux edge package indexes: vtk-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A software system for 3D computer graphics, image processing and visualization (documentation) | https://vtk.org/
- dnf - python3-vtk - 9.6.2-8.fc45: normalized package name match | Fedora Rawhide package metadata: python3-vtk from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Python 3 bindings for VTK | https://vtk.org/
- dnf - python3-vtk-mpich - 9.6.2-8.fc45: normalized package name match | Fedora Rawhide package metadata: python3-vtk-mpich from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Python 3 bindings for VTK with mpich | https://vtk.org/
- dnf - python3-vtk-openmpi - 9.6.2-8.fc45: normalized package name match | Fedora Rawhide package metadata: python3-vtk-openmpi from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Python 3 bindings for VTK with openmpi | https://vtk.org/
- dnf - vtk - 9.6.2-8.fc45: normalized package name match | Fedora Rawhide package metadata: vtk from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | The Visualization Toolkit - A high level 3D visualization library | https://vtk.org/
- dnf - vtk-data - 9.6.2-8.fc45: normalized package name match | Fedora Rawhide package metadata: vtk-data from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | VTK data files for tests/examples | https://vtk.org/
- dnf - vtk-devel - 9.6.2-8.fc45: normalized package name match | Fedora Rawhide package metadata: vtk-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | VTK header files for building C++ code | https://vtk.org/
- dnf - vtk-doc - 9.6.2-8.fc45: normalized package name match | Fedora Rawhide package metadata: vtk-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | API documentation for VTK | https://vtk.org/
- dnf - vtk-examples - 9.6.2-8.fc45: normalized package name match | Fedora Rawhide package metadata: vtk-examples from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Examples for VTK | https://vtk.org/
- dnf - vtk-java - 9.6.2-8.fc45: normalized package name match | Fedora Rawhide package metadata: vtk-java from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Java bindings for VTK | https://vtk.org/
- dnf - vtk-mpich - 9.6.2-8.fc45: normalized package name match | Fedora Rawhide package metadata: vtk-mpich from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | The Visualization Toolkit - mpich version | https://vtk.org/
- dnf - vtk-mpich-devel - 9.6.2-8.fc45: normalized package name match | Fedora Rawhide package metadata: vtk-mpich-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | VTK header files for building C++ code with mpich | https://vtk.org/
- dnf - vtk-mpich-java - 9.6.2-8.fc45: normalized package name match | Fedora Rawhide package metadata: vtk-mpich-java from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Java bindings for VTK with mpich | https://vtk.org/


## 相关链接

- [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.
- [Media and graphics packages](https://pkg.so/zh-hans/media-graphics-tools/) - Matched media, image, audio, video, or graphics metadata.
- [Scientific computing packages](https://pkg.so/zh-hans/scientific-computing-tools/) - Matched scientific computing metadata.
- [sqlite](https://pkg.so/zh-hans/brew/sqlite/) - Runtime dependency declared by Homebrew.
- [xz](https://pkg.so/zh-hans/brew/xz/) - Runtime dependency declared by Homebrew.
- [python@3.14](https://pkg.so/zh-hans/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [lz4](https://pkg.so/zh-hans/brew/lz4/) - Runtime dependency declared by Homebrew.
- [libpng](https://pkg.so/zh-hans/brew/libpng/) - Runtime dependency declared by Homebrew.
- [jpeg-turbo](https://pkg.so/zh-hans/brew/jpeg-turbo/) - 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.
- [cmake](https://pkg.so/zh-hans/brew/cmake/) - Build dependency declared by Homebrew.
- [opencv](https://pkg.so/zh-hans/brew/opencv/) - Popular package that depends on this formula.
- [pcl](https://pkg.so/zh-hans/brew/pcl/) - Popular package that depends on this formula.
- [f3d](https://pkg.so/zh-hans/brew/f3d/) - Popular package that depends on this formula.
- [rtabmap](https://pkg.so/zh-hans/brew/rtabmap/) - Popular package that depends on this formula.
- [visp](https://pkg.so/zh-hans/brew/visp/) - Popular package that depends on this formula.
- [itk](https://pkg.so/zh-hans/brew/itk/) - Popular package that depends on this formula.
- [teem](https://pkg.so/zh-hans/brew/teem/) - Shares pkgdb curated category or tags: cli, image-processing, science, scientific-computing, visualization.
- [root](https://pkg.so/zh-hans/brew/root/) - Shares pkgdb curated category or tags: cli, science, scientific-computing, visualization.
- [numpy](https://pkg.so/zh-hans/brew/numpy/) - Shares pkgdb curated category or tags: cli, science, scientific-computing.
- [gnuplot](https://pkg.so/zh-hans/brew/gnuplot/) - Shares pkgdb curated category or tags: cli, science, scientific-computing.
- [metis](https://pkg.so/zh-hans/brew/metis/) - Shares pkgdb curated category or tags: cli, science, scientific-computing.
- [octave](https://pkg.so/zh-hans/brew/octave/) - Shares pkgdb curated category or tags: cli, science, scientific-computing.
- [gsl](https://pkg.so/zh-hans/brew/gsl/) - Shares pkgdb curated category or tags: cli, science, scientific-computing.

## Combined YAML source

View the package source record on GitHub. [combined/vtk.yml](https://github.com/mxcl/pkgdb/blob/main/combined/vtk.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
