# Install dcraw with Homebrew, apt, dnf, MacPorts, Nix, pacman, zypper

Digital camera RAW photo decoding software. Version 9.28.0 via Homebrew; verified from local package data.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install dcraw
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install dcraw
```

  Evidence: 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
```

  Evidence: 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
```

  Evidence: Fedora Rawhide package metadata: dcraw from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#dcraw
```

  Evidence: 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
```

  Evidence: 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
```

  Evidence: openSUSE Tumbleweed package metadata: dcraw from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## Package facts

- **Package key:** brew:dcraw
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/dcraw>
- **Version:** 9.28.0
- **Source summary:** Digital camera RAW photo decoding software
- **Homepage:** <https://dechifro.org/dcraw/>
- **Upstream docs:** <https://dechifro.org/dcraw>
- **License:** GPL-2.0-or-later
- **Source archive:** <https://dechifro.org/dcraw/archive/dcraw-9.28.0.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- dcraw (cli)
- dcraw (alias)

## Dependencies

- jasper
- jpeg-turbo
- little-cms2

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, monterey, sonoma, ventura, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 9.28.0
- Local data: ok
- Upstream repository: https://dechifro.org/dcraw/
- info: No package-manager update timestamp was available.
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

- 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

### Sources

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


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

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

## Other Package-Manager Records

- 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-28.fc44: normalized package name match | Fedora Rawhide package metadata: dcraw from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-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.6: normalized package name match | openSUSE Tumbleweed package metadata: dcraw from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Raw Digital Photo Decoding | https://www.dechifro.org/dcraw/
- zypper - dcraw-lang - 9.28.0-5.6: normalized package name match | openSUSE Tumbleweed package metadata: dcraw-lang from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-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


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Media and graphics packages](https://www.automicvault.com/pkg/media-graphics-tools/) - Matched media, image, audio, video, or graphics metadata.
- [Homebrew utility packages](https://www.automicvault.com/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [jasper](https://www.automicvault.com/pkg/brew/jasper/) - Runtime dependency declared by Homebrew.
- [jpeg-turbo](https://www.automicvault.com/pkg/brew/jpeg-turbo/) - Runtime dependency declared by Homebrew.
- [little-cms2](https://www.automicvault.com/pkg/brew/little-cms2/) - Runtime dependency declared by Homebrew.
- [dnglab](https://www.automicvault.com/pkg/brew/dnglab/) - Shares av.db curated category or tags: cli, converter, media, photography, raw-images.
- [gphoto2](https://www.automicvault.com/pkg/brew/gphoto2/) - Shares av.db curated category or tags: cli, media, photography.
- [lensfun](https://www.automicvault.com/pkg/brew/lensfun/) - Shares av.db curated category or tags: cli, media, photography.
- [gphotos-uploader-cli](https://www.automicvault.com/pkg/brew/gphotos-uploader-cli/) - Shares av.db curated category or tags: cli, media, photography.
- [abcm2ps](https://www.automicvault.com/pkg/brew/abcm2ps/) - Shares av.db curated category or tags: cli, converter, media.
- [abcmidi](https://www.automicvault.com/pkg/brew/abcmidi/) - Shares av.db curated category or tags: cli, converter, media.
- [atomicparsley](https://www.automicvault.com/pkg/brew/atomicparsley/) - Shares av.db curated category or tags: cli, media, metadata.
- [avimetaedit](https://www.automicvault.com/pkg/brew/avimetaedit/) - Shares av.db curated category or tags: cli, media, metadata.
- [libraw](https://www.automicvault.com/pkg/brew/libraw/) - Local package facts share a topical domain. Shared terms: cli, cms2, dcraw, decoding, digital.
- [geeqie](https://www.automicvault.com/pkg/brew/geeqie/) - Local package facts share a topical domain. Shared terms: cli, cms2, jpeg, jpeg-turbo, little.

## Combined YAML source

View the package source record on GitHub. [combined/dcraw.yml](https://github.com/automic-vault/db/blob/main/combined/dcraw.yml)


## Sources

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