Automic VaultAutomic Vault

brew

使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper, winget 安装 exiv2

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install exiv2

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install exiv2

MacPorts ports tree · graphics/exiv2/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add exiv2

Alpine Linux edge package indexes · exiv2 · 来源: dl-cdn.alpinelinux.org

Debian apt已验证 · 92%
sudo apt install exiv2

Debian stable package indexes · exiv2 · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install exiv2

Fedora Rawhide package metadata · exiv2 · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#exiv2

nixpkgs package indexes · pkgs/by-name/ex/exiv2/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S exiv2

Arch Linux sync databases · exiv2 · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install exiv2

openSUSE Tumbleweed package metadata · exiv2 · 来源: download.opensuse.org

Windows

Windows Package Manager已验证 · 92%
winget install --id Exiv2.Exiv2 -e

Windows Package Manager source index · Exiv2.Exiv2 · 来源: cdn.winget.microsoft.com

概览

软件包摘要

EXIF and IPTC metadata manipulation library and tools

命令和别名

  • exiv2

历史

项目历史与用法

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.

安全态势

风险级别:绿色

library-like package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • library-like package without higher-risk signals

信号

  • metadata:library-like

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 4 个运行时依赖。
  • 构建元数据列出 2 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
exiv2cli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本0.28.8
管理器更新时间2026-06-25
本地数据OK
上游当前
检测到的最新版本v0.28.8

https://github.com/Exiv2/exiv2

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:exiv2
版本0.28.8
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/exiv2
主页https://exiv2.org/
仓库https://github.com/Exiv2/exiv2
上游文档https://exiv2.org/
许可证GPL-2.0-or-later
源码归档https://github.com/Exiv2/exiv2/archive/refs/tags/v0.28.8.tar.gz
最后更新2026-06-25T13:37:40+02:00
Pulseupdated
依赖brotli, gettext, inih, libssh
构建依赖cmake, gettext
macOS 提供的库curl, expat
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameexiv2
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

exiv2 0.28.5+dfsg-1

EXIF/IPTC/XMP metadata manipulation tool

https://www.exiv2.org/

sudo apt install exiv2
  • Section: graphics
  • Architecture: amd64
  • 4 依赖
  • normalized package name match
  • 匹配方式:Exiv2
Debian stable package indexes · deb.debian.org · Debian stable package indexes: exiv2 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libexiv2-28 0.28.5+dfsg-1

EXIF/IPTC/XMP metadata manipulation library

https://www.exiv2.org/

sudo apt install libexiv2-28
  • Section: libs
  • Architecture: amd64
  • Source Package: exiv2
  • 8 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Exiv2
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libexiv2-28 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libexiv2-data 0.28.5+dfsg-1

EXIF/IPTC/XMP metadata manipulation library - shared data

https://www.exiv2.org/

sudo apt install libexiv2-data
  • Section: graphics
  • Architecture: all
  • Source Package: exiv2
  • normalized package name match
  • 匹配方式:Exiv2
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libexiv2-data from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libexiv2-dev 0.28.5+dfsg-1

EXIF/IPTC/XMP metadata manipulation library - development files

https://www.exiv2.org/

sudo apt install libexiv2-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: exiv2
  • 1 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Exiv2
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libexiv2-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libexiv2-doc 0.28.5+dfsg-1

EXIF/IPTC/XMP metadata manipulation library - HTML documentation

https://www.exiv2.org/

sudo apt install libexiv2-doc
  • Section: doc
  • Architecture: all
  • Source Package: exiv2
  • 1 依赖
  • normalized package name match
  • 匹配方式:Exiv2
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libexiv2-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

exiv2

nix profile install nixpkgs#exiv2
  • normalized package name match
  • 匹配方式:Exiv2
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ex/exiv2/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

exiv2 0.27.6-1build1

EXIF/IPTC/XMP metadata manipulation tool

https://www.exiv2.org/

sudo apt install exiv2
  • Section: universe/graphics
  • Architecture: amd64
  • 4 依赖
  • normalized package name match
  • 匹配方式:Exiv2
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: exiv2 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libexiv2-27 0.27.6-1build1

EXIF/IPTC/XMP metadata manipulation library

https://www.exiv2.org/

sudo apt install libexiv2-27
  • Section: libs
  • Architecture: amd64
  • Source Package: exiv2
  • 5 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Exiv2
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libexiv2-27 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libexiv2-dev 0.27.6-1build1

EXIF/IPTC/XMP metadata manipulation library - development files

https://www.exiv2.org/

sudo apt install libexiv2-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: exiv2
  • 1 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Exiv2
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libexiv2-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libexiv2-doc 0.27.6-1build1

EXIF/IPTC/XMP metadata manipulation library - HTML documentation

https://www.exiv2.org/

sudo apt install libexiv2-doc
  • Section: doc
  • Architecture: all
  • Source Package: exiv2
  • 1 依赖
  • normalized package name match
  • 匹配方式:Exiv2
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libexiv2-doc from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
apk95%

exiv2 0.28.7-r0

Exif and Iptc metadata manipulation library and tools.

https://exiv2.org/

sudo apk add exiv2
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: exiv2
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Exiv2
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: exiv2 from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

exiv2-dev 0.28.7-r0

Exif and Iptc metadata manipulation library and tools. (development files)

https://exiv2.org/

sudo apk add exiv2-dev
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: exiv2
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Exiv2
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: exiv2-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

exiv2-doc 0.28.7-r0

Exif and Iptc metadata manipulation library and tools. (documentation)

https://exiv2.org/

sudo apk add exiv2-doc
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: exiv2
  • normalized package name match
  • 匹配方式:Exiv2
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: exiv2-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

exiv2-libs 0.28.7-r0

Exif and Iptc metadata manipulation library and tools. (libraries)

https://exiv2.org/

sudo apk add exiv2-libs
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: exiv2
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Exiv2
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: exiv2-libs from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

exiv2 0.28.6-3.fc44

Exif, IPTC and XMP metadata manipulation library

http://www.exiv2.org/

sudo dnf install exiv2
  • License: GPL-2.0-or-later AND BSD-3-Clause AND LicenseRef-Fedora-Public-Domain
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: exiv2
  • 6 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Exiv2
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: exiv2 from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

exiv2-devel 0.28.6-3.fc44

Header files, libraries and development documentation for exiv2

http://www.exiv2.org/

sudo dnf install exiv2-devel
  • License: GPL-2.0-or-later AND BSD-3-Clause AND LicenseRef-Fedora-Public-Domain
  • Category: Unspecified
  • Architecture: i686
  • Source Package: exiv2
  • 5 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式:Exiv2
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: exiv2-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment