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

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

## 安装

```sh
sudo av install brew:itk
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install itk
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install itk
```

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

### Linux

- dnf (92%):

```sh
sudo dnf install itk
```

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

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

- pacman (92%):

```sh
sudo pacman -S itk
```

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

- zypper (92%):

```sh
sudo zypper install itk
```

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

## 软件包事实

- **软件包键:** brew:itk
- **软件包管理器:** Homebrew
- **版本:** 5.4.6
- **来源摘要:** Insight Toolkit is a toolkit for performing registration and segmentation
- **主页:** <https://itk.org>
- **仓库:** <https://github.com/InsightSoftwareConsortium/ITK>
- **最后更新:** 2026-06-22T14:03:48-07:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- itkTestDriver (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

ITK, the Insight Toolkit, is an open-source, cross-platform toolkit for scientific image processing, segmentation, and registration. It is one of the foundational C++ libraries behind medical-imaging and multidimensional image-analysis software.

### 项目历史

ITK began from the U.S. National Library of Medicine's need for open tools to analyze 3D data from the Visible Human Project. The archived ITK history says that in 1999 the NLM awarded a three-year contract to develop an open-source registration and segmentation toolkit, coordinated by Terry Yoo and built by the Insight Software Consortium.

The original consortium joined commercial and academic groups: GE Research, Kitware, MathSoft/Insightful, the University of North Carolina, the University of Tennessee/Utah group, and the University of Pennsylvania, with subcontractors from Brigham and Women's Hospital, Columbia, the University of Pennsylvania GRASP Lab, and the University of Pittsburgh.

The toolkit was built in C++ with generic programming and CMake, and it emphasized automated testing, iterative development, and language wrapping. Official ITK documentation describes it as an open-source toolkit for two-, three-, and higher-dimensional scientific image processing, segmentation, and registration.

The project continued through major 4.x, 5.x, and 6.x release lines on GitHub. ITK 5.0.0 was published in 2019, and the ITK site describes the project as using open governance and being fiscally sponsored by NumFOCUS.

### 采用历史

ITK's adoption grew from medical imaging into microscopy, remote sensing, and other scientific image-analysis domains. The Visible Human Project page records that its public-domain data sets were released in 1994 and 1995 and were intended partly as public-domain data for testing medical imaging algorithms, giving ITK a clear data-driven origin.

Package-manager adoption spans Homebrew, Fedora, MacPorts, Nix, Arch, and openSUSE-family packages, but many users encounter ITK through downstream applications, Python wrapping, SimpleITK, 3D Slicer, ITK-SNAP, and research software stacks rather than by running a single CLI.

### 使用方式

ITK is primarily a development library. Users write C++ or wrapped-language programs that compose readers, writers, image types, filters, registration methods, segmentation algorithms, and pipeline components.

The Homebrew formula exposes itkTestDriver, which reflects ITK's heavy testing culture more than a traditional end-user command-line application.

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

ITK is package-manager significant because it is a large scientific C++ dependency with long compile times, optional wrapping, CMake integration, and downstream consumers across research software. Packaging it well saves every downstream project from rebuilding a complex imaging stack by hand.

It is also historically important as a medical-imaging open-source success: a government-funded research toolkit that became infrastructure for later tools rather than a single application.

### 时间线

- 1994: The Visible Human male data set was publicly released.
- 1995: The Visible Human female data set was publicly released.
- 1999: NLM awarded the contract that started the Insight Toolkit effort.
- 2018: ITK 4.13.0 was published in the GitHub release stream.
- 2019: ITK 5.0.0 was published.
- 2026: ITK 6.0.0 documentation was generated in the project documentation site.

### Related projects

- The Visible Human Project is the data and research context that motivated ITK.
- CMake, VTK, SimpleITK, ITK-SNAP, 3D Slicer, NumFOCUS, and Kitware are closely related in ITK's history and ecosystem.
- Downstream scientific workflows use ITK alongside Python, image IO libraries, visualization toolkits, and domain applications for medical imaging and microscopy.

### 来源

- <https://docs.itk.org/projects/doxygen/en/latest/>
- <https://formulae.brew.sh/formula/itk>
- <https://github.com/InsightSoftwareConsortium/ITK>
- <https://github.com/InsightSoftwareConsortium/ITK/releases>
- <https://insightsoftwareconsortium.github.io/ITKWikiArchive/Wiki/ITK/About/>
- <https://itk.org/>
- <https://www.nlm.nih.gov/research/visible/visible_human.html>


## 安全说明

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


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

- Nix - itk: normalized package name match | nixpkgs package indexes: itk from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- dnf - itk - 4.2.3-2.fc45: normalized package name match | Fedora Rawhide package metadata: itk from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Object oriented extensions to Tk | https://core.tcl-lang.org/itk
- dnf - itk-devel - 4.2.3-2.fc45: normalized package name match | Fedora Rawhide package metadata: itk-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Development headers and libraries for linking against itk | https://core.tcl-lang.org/itk
- pacman - itk - 5.4.7-1: normalized package name match | Arch Linux sync databases: itk from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | An open-source toolkit for multidimensional image analysis | https://www.itk.org
- zypper - itk - 4.1.0-2.25: normalized package name match | openSUSE Tumbleweed package metadata: itk from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Object Oriented Extension for Tcl
- MacPorts - itk: normalized package name match | MacPorts ports tree: x11/itk/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

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