# 使用 Homebrew, apt, dnf, MacPorts, Nix, zypper, winget 安装 exif

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

## 安装

```sh
sudo av install brew:exif
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install exif
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install exif
```

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

### Linux

- Debian apt (92%):

```sh
sudo apt install exif
```

  证据: Debian stable package indexes: exif from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install exif
```

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

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

- zypper (92%):

```sh
sudo zypper install exif
```

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

### Windows

- winget (92%):

```sh
winget install --id OliverBetz.ExifTool -e
```

  证据: Windows Package Manager source index: OliverBetz.ExifTool from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:exif
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/exif>
- **版本:** 0.6.22
- **来源摘要:** Read, write, modify, and display EXIF data on the command-line
- **主页:** <https://libexif.github.io/>
- **仓库:** <https://github.com/libexif/exif>
- **上游文档:** <https://libexif.github.io/>
- **许可证:** LGPL-2.1-or-later
- **源码归档:** <https://github.com/libexif/exif/releases/download/exif-0_6_22-release/exif-0.6.22.tar.xz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- exif (cli)
- exif (别名)

## 依赖

- libexif
- popt

## 构建依赖

- pkgconf

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.6.22
- 本地数据: OK
- 上游仓库: https://github.com/libexif/exif
- 信息: No package-manager update timestamp was available.
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

exif is the small command-line interface to libexif, the portable C library for reading and writing EXIF metadata in image files.

### 项目历史

The libexif project maintains several related packages: libexif itself, exif as the simple command-line interface, GUI components, and a regression test suite. The exif README describes the tool as a small utility written to demonstrate libexif's ability to show EXIF information hidden in JPEG files.

The project lived historically on SourceForge and moved its active source-code home to GitHub in 2017. Since then, the libexif homepage has continued to track both library and exif command-line releases, including security, stability, and bugfix updates.

### 采用历史

The libexif project explicitly notes that it supplies source code while operating-system and package maintainers provide binaries. It points Linux and macOS users toward distribution package tools and package ecosystems such as Homebrew, MacPorts, Conan, and Conda-forge.

### 使用方式

exif is used when a user wants a compact C-based command-line reader for EXIF data in JPEG files. It is less expansive than ExifTool, but it is useful for scripts and systems that already depend on libexif.

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

The package matters because it exposes libexif directly as a small Unix-style executable. It is a practical metadata inspection tool and a smoke test for the underlying library package.

### 时间线

- 2007: libexif 0.6.16 security release is listed in project news.
- 2017: The libexif project moves to GitHub.
- 2020: exif 0.6.22 stability and bugfix release is announced.
- 2026: libexif 0.6.26 security release is announced.

### Related projects

- exif is part of the libexif family alongside libexif, libexif-gtk, gexif, and libexif-testsuite.

### 来源

- <https://libexif.github.io/>
- <https://github.com/libexif/exif>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 源数据库详情

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

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

- Debian apt - exif - 0.6.22-4: normalized package name match | Debian stable package indexes: exif from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | command-line utility to show EXIF information in JPEG files | https://libexif.github.io/
- Nix - exif: normalized package name match | nixpkgs package indexes: pkgs/by-name/ex/exif/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - exif - 0.6.22-3build1: normalized package name match | Ubuntu 24.04 LTS package indexes: exif from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | command-line utility to show EXIF information in JPEG files | https://libexif.github.io/
- dnf - exif - 0.6.22-14.fc45: normalized package name match | Fedora Rawhide package metadata: exif from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Utility to show EXIF information hidden in JPEG files | http://libexif.sourceforge.net/
- zypper - exif - 0.6.22-3.7: normalized package name match | openSUSE Tumbleweed package metadata: exif from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Small Command Line Utility to Show and Change EXIF Information in JPEG Files | http://sourceforge.net/projects/libexif
- MacPorts - exif: normalized package name match | MacPorts ports tree: graphics/exif/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- winget - OliverBetz.ExifTool: normalized package name match | Windows Package Manager source index: OliverBetz.ExifTool from https://cdn.winget.microsoft.com/cache/source.msix


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [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.
- [pkgconf](https://pkg.so/zh-hans/brew/pkgconf/) - Build dependency declared by Homebrew.
- [exiftool](https://pkg.so/zh-hans/brew/exiftool/) - Shares pkgdb curated category or tags: cli, exif, image-metadata, media, metadata.
- [exiv2](https://pkg.so/zh-hans/brew/exiv2/) - Shares pkgdb curated category or tags: cli, exif, media, metadata.
- [exempi](https://pkg.so/zh-hans/brew/exempi/) - Shares pkgdb curated category or tags: cli, image-metadata, media, metadata.
- [libiptcdata](https://pkg.so/zh-hans/brew/libiptcdata/) - Shares pkgdb curated category or tags: cli, image-metadata, media, metadata.
- [exiftran](https://pkg.so/zh-hans/brew/exiftran/) - Shares pkgdb curated category or tags: cli, exif, media, metadata.
- [exiftags](https://pkg.so/zh-hans/brew/exiftags/) - Shares pkgdb curated category or tags: cli, exif, media, metadata.
- [media-info](https://pkg.so/zh-hans/brew/media-info/) - Shares pkgdb curated category or tags: cli, media, metadata.
- [atomicparsley](https://pkg.so/zh-hans/brew/atomicparsley/) - Shares pkgdb curated category or tags: cli, media, metadata.

## Combined YAML source

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