# exiv2 を Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper, winget でインストール

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

## インストール

```sh
sudo av install brew:exiv2
```

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

### macOS

- Homebrew (100%):

```sh
brew install exiv2
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install exiv2
```

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

### Linux

- apk (92%):

```sh
sudo apk add exiv2
```

  証拠: Alpine Linux edge package indexes: exiv2 from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install exiv2
```

  証拠: Debian stable package indexes: exiv2 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install exiv2
```

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

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

- pacman (92%):

```sh
sudo pacman -S exiv2
```

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

- zypper (92%):

```sh
sudo zypper install exiv2
```

  証拠: openSUSE Tumbleweed package metadata: exiv2 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- winget (92%):

```sh
winget install --id Exiv2.Exiv2 -e
```

  証拠: Windows Package Manager source index: Exiv2.Exiv2 from https://cdn.winget.microsoft.com/cache/source.msix

## パッケージ情報

- **パッケージキー:** brew:exiv2
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.28.8
- **ソース概要:** EXIF and IPTC metadata manipulation library and tools
- **ホームページ:** <https://exiv2.org/>
- **リポジトリ:** <https://github.com/Exiv2/exiv2>
- **最終更新:** 2026-06-25T13:37:40+02:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- exiv2 (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

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

Exiv2 is a C++ image metadata library and command-line utility for Exif, IPTC, XMP, image comments, ICC profiles, thumbnails, previews, and vendor makernotes. Its niche is narrower than ExifTool's, but it is important because it gives C and C++ photo applications a native metadata engine and a scriptable CLI.

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

The Exiv2 project history says Andreas Huggel originally created Exiv2 to fix photos with incorrect Exif timestamps, then turned it into a proof of concept for reading and writing Exif makernotes after discussion with people at Kodak. Andreas first published it on the Internet in 2004.

The project grew from a personal utility into a library and toolchain. Early contributors added IPTC support, Microsoft Visual C++ project files, an I/O abstraction layer, a generalized image class, public bug tracking, and repository hosting. Later work added broader format support, CMake and Visual Studio build support, ICC profile handling, file-dump features, and documentation around the Exiv2 architecture.

### 採用の歴史

Exiv2's own project-history page names UFRaw and digiKam as notable early adopters, and says GIMP, Shotwell, Darktable, and PhotoFlow use libexiv2. That places Exiv2 in the desktop photography and raw-image workflow world rather than only in command-line batch processing.

The project also developed a wrapper and ecosystem story: the history page mentions pyexiv2 as a separate Python wrapper project, and the manual points users to the GitHub source, sample programs, metadata tables, architecture book, and contributor graph.

### 使われ方

The exiv2 command reads, writes, modifies, extracts, inserts, deletes, adjusts, renames, and prints metadata across supported image formats. The manual emphasizes Exif, IPTC, XMP, makernote tags, comments, ICC profiles, thumbnails, and previews, with optional conversion between metadata families according to relevant standards and Metadata Working Group guidance.

Exiv2 has a small user configuration surface: an optional .exiv2 file on Unix-like systems and exiv2.ini on Windows, searched first in the current directory and then in the user's home directory. That file lets users add lens definitions for translated metadata output.

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

Package maintainers care about Exiv2 because image metadata parsers sit on hostile file boundaries: desktop applications, photo managers, and batch tools may all parse camera files downloaded from elsewhere. Exiv2 packages therefore tend to be watched both for feature coverage and for parser/security fixes.

Exiv2 is also a useful comparison point with ExifTool. The Exiv2 FAQ says Exiv2's C++ implementation makes it faster and easier to integrate into C, C++, and Objective-C applications, while ExifTool has the broader feature set. That tradeoff explains why both tools coexist in package repositories.

### タイムライン

- 2004: Andreas Huggel first published Exiv2 on the Internet.
- 2012-2013: Google Summer of Code contributors added video support and Web Ready functionality.
- 2014: Robin Mills retired and Exiv2 v0.25 added a build server.
- 0.26: Maintenance release focused on CMake, Visual Studio support, ICC profiles, and file-dump features.

### Related projects

- ExifTool is the common comparison point: broader metadata coverage, implemented in Perl.
- UFRaw, digiKam, GIMP, Shotwell, Darktable, and PhotoFlow are named by Exiv2's history page as users of libexiv2.
- pyexiv2 is the Python wrapper project mentioned by Exiv2's project history.

### ソース

- <https://dev.exiv2.org/projects/exiv2/wiki/What_was_the_motivation_for_creating_Exiv2>
- <https://exiv2.org/manpage.html>
- <https://dev.exiv2.org/projects/exiv2/wiki/How_does_Exiv2_compare_to_Exiftool>
- <https://exiv2.org/book/>


## セキュリティノート

library-like package without higher-risk signals.

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

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

- Debian apt - exiv2 - 0.28.5+dfsg-1: normalized package name match | Debian stable package indexes: exiv2 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | EXIF/IPTC/XMP metadata manipulation tool | https://www.exiv2.org/
- Debian apt - libexiv2-28 - 0.28.5+dfsg-1: normalized package name match | Debian stable package indexes: libexiv2-28 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | EXIF/IPTC/XMP metadata manipulation library | https://www.exiv2.org/
- Debian apt - libexiv2-data - 0.28.5+dfsg-1: normalized package name match | Debian stable package indexes: libexiv2-data from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | EXIF/IPTC/XMP metadata manipulation library - shared data | https://www.exiv2.org/
- Debian apt - libexiv2-dev - 0.28.5+dfsg-1: normalized package name match | Debian stable package indexes: libexiv2-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | EXIF/IPTC/XMP metadata manipulation library - development files | https://www.exiv2.org/
- Debian apt - libexiv2-doc - 0.28.5+dfsg-1: normalized package name match | Debian stable package indexes: libexiv2-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | EXIF/IPTC/XMP metadata manipulation library - HTML documentation | https://www.exiv2.org/
- Nix - exiv2: normalized package name match | nixpkgs package indexes: pkgs/by-name/ex/exiv2/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - exiv2 - 0.27.6-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: exiv2 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | EXIF/IPTC/XMP metadata manipulation tool | https://www.exiv2.org/
- Ubuntu apt - libexiv2-27 - 0.27.6-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libexiv2-27 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | EXIF/IPTC/XMP metadata manipulation library | https://www.exiv2.org/
- Ubuntu apt - libexiv2-dev - 0.27.6-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libexiv2-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | EXIF/IPTC/XMP metadata manipulation library - development files | https://www.exiv2.org/
- Ubuntu apt - libexiv2-doc - 0.27.6-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libexiv2-doc from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | EXIF/IPTC/XMP metadata manipulation library - HTML documentation | https://www.exiv2.org/
- apk - exiv2 - 0.28.7-r0: normalized package name match | Alpine Linux edge package indexes: exiv2 from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Exif and Iptc metadata manipulation library and tools. | https://exiv2.org/
- apk - exiv2-dev - 0.28.7-r0: normalized package name match | Alpine Linux edge package indexes: exiv2-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Exif and Iptc metadata manipulation library and tools. (development files) | https://exiv2.org/
- apk - exiv2-doc - 0.28.7-r0: normalized package name match | Alpine Linux edge package indexes: exiv2-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Exif and Iptc metadata manipulation library and tools. (documentation) | https://exiv2.org/
- apk - exiv2-libs - 0.28.7-r0: normalized package name match | Alpine Linux edge package indexes: exiv2-libs from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Exif and Iptc metadata manipulation library and tools. (libraries) | https://exiv2.org/
- dnf - exiv2 - 0.28.6-4.fc45: normalized package name match | Fedora Rawhide package metadata: exiv2 from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Exif, IPTC and XMP metadata manipulation library | http://www.exiv2.org/
- dnf - exiv2-devel - 0.28.6-4.fc45: normalized package name match | Fedora Rawhide package metadata: exiv2-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Header files, libraries and development documentation for exiv2 | http://www.exiv2.org/


## Combined YAML source

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