# 使用 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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
- **版本:** 0.6.22
- **来源摘要:** Read, write, modify, and display EXIF data on the command-line
- **主页:** <https://libexif.github.io/>
- **仓库:** <https://github.com/libexif/exif>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- exif (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

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

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

- 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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


## 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
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
