# 使用 Homebrew, apt, MacPorts 安装 exiftran

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

## 安装

```sh
sudo av install brew:exiftran
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install exiftran
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install exiftran
```

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

### Linux

- Debian apt (92%):

```sh
sudo apt install exiftran
```

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

## 软件包事实

- **软件包键:** brew:exiftran
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/exiftran>
- **版本:** 2.14
- **来源摘要:** Transform digital camera jpegs and their EXIF data
- **主页:** <https://www.kraxel.org/blog/linux/fbida/>
- **上游文档:** <https://www.kraxel.org/blog/linux/fbida/>
- **许可证:** GPL-2.0-or-later
- **源码归档:** <https://www.kraxel.org/releases/fbida/fbida-2.14.tar.gz>
- **最后更新:** 2026-06-19T12:30:06-07:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- exiftran (cli)
- exiftran (别名)

## 依赖

- jpeg-turbo
- libexif
- pixman

## 构建依赖

- pkgconf

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 2.14
- 管理器更新时间: 2026-06-19
- 本地数据: OK
- 上游仓库: https://www.kraxel.org/blog/linux/fbida/
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

exiftran is the command-line EXIF-aware JPEG transformation tool in Gerd Hoffmann's fbida project. It performs lossless rotations and flips like jpegtran while also updating EXIF orientation, image dimensions, and the embedded EXIF thumbnail.

### 项目历史

The exiftran manual identifies the tool as EXIFTRAN 2.09 with copyright dates 2002-2012. The fbida repository groups several photo-oriented image tools together because they share code, with fbi and ida giving the project its name and exiftran provided as the JPEG transformation utility.

### 采用历史

The supplied package metadata lists exiftran packages in Homebrew, Debian, MacPorts, and Ubuntu, which reflects its role as a small Unix-style utility packaged across desktop and server-oriented systems.

### 使用方式

The manual documents batch operation on one or more JPEG files, automatic rotation from the EXIF orientation tag, in-place editing with optional backups, timestamp preservation, JPEG comment editing, EXIF dumping, and thumbnail regeneration.

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

Package maintainers care about exiftran because it is a narrow, scriptable image utility with behavior that jpegtran does not cover: it preserves and updates camera metadata and thumbnails during lossless JPEG transforms.

### 时间线

- 2002-2012: exiftran manual copyright range.
- 2012: fbida tag 2.09 includes the exiftran 2.09 manual.
- 2020: fbida project appears on GitLab under kraxel/fbida.
- 2026: GitLab tags show fbida-2.15-1 activity.

### Related projects

- fbida bundles fbi, fbpdf, ida, exiftran, and thumbnail.cgi.
- The exiftran manual compares its lossless JPEG transforms with jpegtran and notes that exiftran also handles EXIF data.

### 来源

- <https://gitlab.com/kraxel/fbida/-/blob/master/README.md>
- <https://gitlab.com/kraxel/fbida/-/blob/master/man/exiftran.1>
- <https://www.kraxel.org/blog/linux/fbida/>
- source_facts.package-manager


## 安全说明

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:** exiftran
- **Version Scheme:** 0
- **Revision:** 2
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

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

- Debian apt - exiftran - 2.14-1: normalized package name match | Debian stable package indexes: exiftran from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | digital camera JPEG image transformer | https://www.kraxel.org/blog/linux/fbida/
- Ubuntu apt - exiftran - 2.10-4ubuntu4: normalized package name match | Ubuntu 24.04 LTS package indexes: exiftran from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | digital camera JPEG image transformer | https://www.kraxel.org/blog/linux/fbida/
- MacPorts - exiftran: normalized package name match | MacPorts ports tree: graphics/exiftran/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [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.
- [Database and data packages](https://pkg.so/zh-hans/database-data-tools/) - Matched database, SQL, migration, or data-store metadata.
- [jpeg-turbo](https://pkg.so/zh-hans/brew/jpeg-turbo/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://pkg.so/zh-hans/brew/pkgconf/) - Build dependency declared by Homebrew.
- [exiftags](https://pkg.so/zh-hans/brew/exiftags/) - Shares pkgdb curated category or tags: cli, exif, jpeg, media, metadata.
- [exiftool](https://pkg.so/zh-hans/brew/exiftool/) - Shares pkgdb curated category or tags: cli, exif, media, metadata.
- [exiv2](https://pkg.so/zh-hans/brew/exiv2/) - Shares pkgdb curated category or tags: cli, exif, media, metadata.
- [exif](https://pkg.so/zh-hans/brew/exif/) - Shares pkgdb curated category or tags: cli, exif, media, metadata.
- [giflib](https://pkg.so/zh-hans/brew/giflib/) - Shares pkgdb curated category or tags: cli, image-processing, media.
- [leptonica](https://pkg.so/zh-hans/brew/leptonica/) - Shares pkgdb curated category or tags: cli, image-processing, media.
- [netpbm](https://pkg.so/zh-hans/brew/netpbm/) - Shares pkgdb curated category or tags: cli, image-processing, media.
- [epsilon](https://pkg.so/zh-hans/brew/epsilon/) - Shares pkgdb curated category or tags: cli, image-processing, media.
- [jp2a](https://pkg.so/zh-hans/brew/jp2a/) - Both packages work with overlapping file formats or content types. Shared terms: cli, image, image-processing, jpeg, jpeg-turbo.
- [epeg](https://pkg.so/zh-hans/brew/epeg/) - Both packages work with overlapping file formats or content types. Shared terms: cli, image, image-processing, jpeg, jpeg-turbo.

## Combined YAML source

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