# 使用 Homebrew, apt, dnf, MacPorts, Nix, pacman, zypper 安装 dcraw

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

## 安装

```sh
sudo av install brew:dcraw
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install dcraw
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install dcraw
```

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

### Linux

- Debian apt (92%):

```sh
sudo apt install dcraw
```

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

- dnf (92%):

```sh
sudo dnf install dcraw
```

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

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

- pacman (92%):

```sh
sudo pacman -S dcraw
```

  证据: Arch Linux sync databases: dcraw from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install dcraw
```

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

## 软件包事实

- **软件包键:** brew:dcraw
- **软件包管理器:** Homebrew
- **版本:** 9.28.0
- **来源摘要:** Digital camera RAW photo decoding software
- **主页:** <https://dechifro.org/dcraw/>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- dcraw (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

dcraw is Dave Coffin's portable ANSI C decoder for raw digital camera photos. The official site describes its goal as decoding raw images from any digital camera on any operating system, and calls it a standard tool inside and outside open source.

### 项目历史

The official dcraw page says the RCS history of dcraw.c begins with its conception on February 23, 1997. Instead of using a public forge as its primary home, dcraw has long been distributed from Coffin's own site as source files, an RCS file, tarballs, translations, and an official manpage.

### 采用历史

dcraw became important because camera vendors shipped proprietary Windows and Mac tools while Unix and open-source users needed a portable way to process raw files. The official page lists many applications and plugins that used dcraw, copied parts of dcraw.c, or treated the source as practical documentation for camera formats.

### 使用方式

The manpage documents dcraw as a command-line decoder that can decode raw photos, display metadata, and extract thumbnails. Its options cover identifying files, outputting to stdout, controlling white balance, extracting embedded thumbnails, and producing image formats suitable for further processing.

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

dcraw is package-manager folklore because it compressed a sprawling compatibility problem into one portable C program. For distributions, graphics stacks, and photo tools, it served as both an executable utility and a reference implementation for raw camera formats.

### 时间线

- 1997: dcraw.c history begins according to the official RCS file note
- 2003: Official page links Dave Coffin's Digital Outback Photo essay
- 2005: Official page links press and interview coverage around raw-photo decoding
- 2015: Official manpage updated March 3, 2015

### Related projects

- gPhoto, UFRaw, GIMP rawphoto, RawTherapee, Adobe Camera Raw

### 来源

- <https://dechifro.org/dcraw>
- <https://dechifro.org/dcraw/dcraw.1.html>
- <https://dechifro.org/dcraw/RCS/dcraw.c,v>


## 安全说明

narrow executable package without higher-risk signals.

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

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

- Debian apt - dcraw - 9.28-8: normalized package name match | Debian stable package indexes: dcraw from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | decode raw digital camera images | https://www.dechifro.org/dcraw/
- Nix - dcraw: normalized package name match | nixpkgs package indexes: pkgs/by-name/dc/dcraw/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - dcraw - 9.28-5ubuntu1: normalized package name match | Ubuntu 24.04 LTS package indexes: dcraw from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | decode raw digital camera images | https://www.dechifro.org/dcraw/
- dnf - dcraw - 9.28.0-29.fc45: normalized package name match | Fedora Rawhide package metadata: dcraw from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Tool for decoding raw image data from digital cameras | http://www.dechifro.org/dcraw/
- pacman - dcraw - 9.28.0-5: normalized package name match | Arch Linux sync databases: dcraw from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Decodes any raw image from any digital camera | https://www.dechifro.org/dcraw/
- zypper - dcraw - 9.28.0-5.8: normalized package name match | openSUSE Tumbleweed package metadata: dcraw from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Raw Digital Photo Decoding | https://www.dechifro.org/dcraw/
- zypper - dcraw-lang - 9.28.0-5.8: normalized package name match | openSUSE Tumbleweed package metadata: dcraw-lang from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Translations for package dcraw | https://www.dechifro.org/dcraw/
- MacPorts - dcraw: normalized package name match | MacPorts ports tree: graphics/dcraw/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

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