# libdicom を Homebrew, dnf, MacPorts, Nix, pacman でインストール

libdicom のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:libdicom
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install libdicom
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install libdicom
```

  証拠: MacPorts ports tree: science/libdicom/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- dnf (92%):

```sh
sudo dnf install libdicom
```

  証拠: Fedora Rawhide package metadata: libdicom 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#libdicom
```

  証拠: nixpkgs package indexes: pkgs/by-name/li/libdicom/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S libdicom
```

  証拠: Arch Linux sync databases: libdicom from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## パッケージ情報

- **パッケージキー:** brew:libdicom
- **パッケージマネージャ:** Homebrew
- **バージョン:** 1.3.0
- **ソース概要:** DICOM WSI read library
- **ホームページ:** <https://github.com/ImagingDataCommons/libdicom>
- **リポジトリ:** <https://github.com/ImagingDataCommons/libdicom>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- dcm-dump (エイリアス)
- dcm-getframe (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 1.3.0
## プロジェクトの歴史と使われ方

libdicom is an Imaging Data Commons C library and command-line tool set for reading DICOM whole-slide imaging files. It is a newer, focused medical-imaging package built around fast metadata/frame access rather than general image rendering.

### プロジェクトの歴史

The upstream README describes libdicom as a free, MIT-licensed, fast, cross-platform, dependency-light C library and command-line toolkit for DICOM WSI files. It returns compressed frame data rather than RGB pixel arrays, and points users who want image processing toward OpenSlide 4.0 and later.

GitHub release notes show 1.0.x, 1.1.0, and 1.2.0 release-candidate work with fixes for memory use, thread-safety documentation, pointer ownership, DICOM catenation support, faster reads for files with an Extended Offset Table, and command-line behavior improvements.

### 採用の歴史

The package's adoption story is tightly connected to DICOM WSI and OpenSlide. The README states that OpenSlide 4.0 and later use libdicom to implement DICOM support, making libdicom a small but important bridge between medical-imaging standards and common open-source slide tooling.

### 使われ方

Developers use the C API or Python bindings to inspect metadata and read compressed frame payloads from DICOM WSI files. Command-line users get dcm-dump for structured inspection and dcm-getframe for frame extraction workflows.

### パッケージ好きにとっての重要性

libdicom is package-nerd interesting because it is a specialized C dependency created for a standards-heavy domain, has no broad dependency stack of its own, and lets larger imaging tools support DICOM WSI without each implementing frame indexing and parsing independently.

### タイムライン

- 2023: OpenSlide 4.0 adoption of libdicom for DICOM WSI support was described in the libdicom README image/context.
- 2024: libdicom 1.1.0 release notes recorded memory-use, docs, pointer-ownership, and thread-safety improvements.
- 2025: libdicom 1.2.0-rc1 release notes added DICOM catenation support and faster reads for files with an Extended Offset Table but no fragmented-pixel-data sequence.
- 2026: The README build example referenced libdicom 1.3.0 source-tree naming.

### Related projects

- Imaging Data Commons is the upstream organization. OpenSlide 4.0 and later are the most important adjacent consumer named by upstream, while pylibdicom provides Python access to the C library.

### ソース

- <https://github.com/ImagingDataCommons/libdicom>
- <https://github.com/ImagingDataCommons/libdicom/releases>
- <https://libdicom.readthedocs.io/en/latest>
- <https://raw.githubusercontent.com/ImagingDataCommons/libdicom/main/README.md>


## セキュリティノート

library-like package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- library-like package without higher-risk signals

## 他のパッケージマネージャ記録

- Nix - libdicom: normalized package name match | nixpkgs package indexes: pkgs/by-name/li/libdicom/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- dnf - libdicom - 1.3.0-2.fc45: normalized package name match | Fedora Rawhide package metadata: libdicom from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | C library and tools for reading DICOM data sets | https://github.com/ImagingDataCommons/libdicom
- dnf - libdicom-devel - 1.3.0-2.fc45: normalized package name match | Fedora Rawhide package metadata: libdicom-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Development files for libdicom | https://github.com/ImagingDataCommons/libdicom
- dnf - libdicom-doc - 1.3.0-2.fc45: normalized package name match | Fedora Rawhide package metadata: libdicom-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Documentation for libdicom | https://github.com/ImagingDataCommons/libdicom
- dnf - libdicom-tools - 1.3.0-2.fc45: normalized package name match | Fedora Rawhide package metadata: libdicom-tools from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Tools for decoding DICOM files | https://github.com/ImagingDataCommons/libdicom
- pacman - libdicom - 1.3.0-1: normalized package name match | Arch Linux sync databases: libdicom from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | C library and tools for reading DICOM data sets | https://github.com/ImagingDataCommons/libdicom
- MacPorts - libdicom: normalized package name match | MacPorts ports tree: science/libdicom/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/libdicom.yml](https://github.com/mxcl/pkgdb/blob/main/combined/libdicom.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
