Automic VaultAutomic Vault

brew

Install libraw with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper

Library for reading RAW files from digital photo cameras. Version 0.22.1 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install libraw

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install libraw

MacPorts ports tree · graphics/libraw/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add libraw

Alpine Linux edge package indexes · libraw · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install libraw-bin

Debian stable package indexes · libraw-bin · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install LibRaw

Fedora Rawhide package metadata · LibRaw · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#libraw

nixpkgs package indexes · pkgs/by-name/li/libraw/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S libraw

Arch Linux sync databases · libraw · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install libraw-devel

openSUSE Tumbleweed package metadata · libraw-devel · source: download.opensuse.org

overview

Package summary

Library for reading RAW files from digital photo cameras

Commands and aliases

  • 4channels
  • dcraw_emu
  • dcraw_half
  • half_mt
  • mem_image
  • multirender_test
  • postprocessing_benchmark
  • raw-identify
  • rawtextdump
  • simple_dcraw
  • unprocessed_raw

history

Project history and usage

LibRaw is a RAW photo decoding library created to turn Dave Coffin's dcraw codebase into an embeddable, thread-safer library with expanded metadata and camera-format support.

Project history

The LibRaw project states that it launched in 2008 based on Dave Coffin's dcraw.c utility. Its goals were to convert dcraw into a library usable by other programs, remove global-variable style constraints, improve thread safety, import dcraw changes, and expand metadata extraction.

LibRaw's history is inseparable from dcraw. The project notes that dcraw support was reduced to a minimum in 2015 and ceased in 2018; after that, new camera and format support was handled by the LibRaw team. The rendering path inherited from dcraw remained important, while LibRaw moved contributor demosaic and post-processing experiments into separate projects when they became hard to maintain in the core library.

Adoption history

LibRaw was adopted broadly because camera vendors produce many undocumented or semi-documented RAW formats and applications need a maintained decoding layer. Its official documentation describes embedding in RAW converters, data analyzers, and other programs that use RAW files as input, and its supported-camera list spans phone cameras, drones, cinema cameras, DSLRs, and mirrorless systems.

How it is used

Homebrew installs the library and sample utilities such as dcraw_emu, raw-identify, simple_dcraw, and postprocessing_benchmark. Developers use the API when they need to identify cameras, read RAW metadata, unpack sensor data, or feed image data to a separate conversion pipeline.

Why package nerds care

LibRaw is one of the cleaner examples of turning a famous single-file Unix utility into a library package. It matters to maintainers because many graphics applications can share one camera-support substrate instead of vendoring dcraw snapshots or maintaining format decoders independently.

Timeline

  • 1997: Dave Coffin's dcraw copyright lineage begins, later forming LibRaw's base.
  • 2008: LibRaw project launched from dcraw.c.
  • 2015: LibRaw records dcraw support being reduced to a minimum.
  • 2018: LibRaw records dcraw support ceasing, with camera-format support handled by the LibRaw team thereafter.
  • 2026: LibRaw documentation and supported-camera pages described the 0.22 camera support generation.

Related projects

  • LibRaw is related to dcraw, RawDigger, FastRawViewer, RAW converter applications, camera-specific RAW formats such as CRW, CR2, NEF, RAF, DNG, MOS, KDC, and DCR, and the LibRaw demosaic pack projects.

security posture

Risk level: green

library-like package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • library-like package without higher-risk signals

Signals

  • metadata:library-like

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 3 runtime dependencies.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
4channelscliglobal executable
dcraw_emucliglobal executable
dcraw_halfcliglobal executable
half_mtcliglobal executable
mem_imagecliglobal executable
multirender_testcliglobal executable
postprocessing_benchmarkcliglobal executable
raw-identifycliglobal executable
rawtextdumpcliglobal executable
simple_dcrawcliglobal executable
unprocessed_rawcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version0.22.1
manager updated
local dataok
upstreamnot checked
latest detectednot detected

https://www.libraw.org/

  • infoNo package-manager update timestamp was available.low confidence
  • infoRelease/tag comparison is only available for GitHub repositories.https://www.libraw.org/none confidence

install metadata

Package metadata

Package keybrew:libraw
Version0.22.1
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/libraw
Homepagehttps://www.libraw.org/
Repositoryhttps://github.com/LibRaw/LibRaw
Upstream docshttps://www.libraw.org/docs
LicenseLGPL-2.1-only OR CDDL-1.0
Source archivehttps://www.libraw.org/data/LibRaw-0.22.1.tar.gz
Dependenciesjpeg-turbo, libomp, little-cms2
Build dependenciespkgconf
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namelibraw
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

libraw-bin 0.21.4-2

raw image decoder library (tools)

https://www.libraw.org

sudo apt install libraw-bin
  • Section: graphics
  • Architecture: amd64
  • Source Package: libraw
  • 6 dependencies
  • normalized package name match
  • Matched by: Libraw
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libraw-bin from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libraw-dev 0.21.4-2

raw image decoder library (development files)

https://www.libraw.org

sudo apt install libraw-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: libraw
  • 2 dependencies
  • normalized package name match
  • Matched by: Libraw
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libraw-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libraw-doc 0.21.4-2

raw image decoder library (documentation)

https://www.libraw.org

sudo apt install libraw-doc
  • Section: doc
  • Architecture: all
  • Source Package: libraw
  • normalized package name match
  • Matched by: Libraw
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libraw-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libraw23t64 0.21.4-2

raw image decoder library

https://www.libraw.org

sudo apt install libraw23t64
  • Section: libs
  • Architecture: amd64
  • Source Package: libraw
  • 6 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Libraw
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libraw23t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

libraw

nix profile install nixpkgs#libraw
  • normalized package name match
  • Matched by: Libraw
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/li/libraw/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

libraw-bin 0.21.2-2.1build1

raw image decoder library (tools)

https://www.libraw.org

sudo apt install libraw-bin
  • Section: universe/graphics
  • Architecture: amd64
  • Source Package: libraw
  • 6 dependencies
  • normalized package name match
  • Matched by: Libraw
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libraw-bin from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libraw-dev 0.21.2-2.1build1

raw image decoder library (development files)

https://www.libraw.org

sudo apt install libraw-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: libraw
  • 2 dependencies
  • normalized package name match
  • Matched by: Libraw
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libraw-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libraw-doc 0.21.2-2.1build1

raw image decoder library (documentation)

https://www.libraw.org

sudo apt install libraw-doc
  • Section: doc
  • Architecture: all
  • Source Package: libraw
  • normalized package name match
  • Matched by: Libraw
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libraw-doc from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libraw23t64 0.21.2-2.1build1

raw image decoder library

https://www.libraw.org

sudo apt install libraw23t64
  • Section: libs
  • Architecture: amd64
  • Source Package: libraw
  • 6 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Libraw
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libraw23t64 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
apk95%

libraw 0.22.1-r0

Library for reading RAW files obtained from digital photo cameras

https://www.libraw.org/

sudo apk add libraw
  • License: CDDL-1.0 OR LGPL-2.1-only
  • Architecture: x86_64
  • Source Package: libraw
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Libraw
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libraw from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

libraw-dev 0.22.1-r0

Library for reading RAW files obtained from digital photo cameras (development files)

https://www.libraw.org/

sudo apk add libraw-dev
  • License: CDDL-1.0 OR LGPL-2.1-only
  • Architecture: x86_64
  • Source Package: libraw
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Libraw
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libraw-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

libraw-tools 0.22.1-r0

tools for LibRaw

https://www.libraw.org/

sudo apk add libraw-tools
  • License: CDDL-1.0 OR LGPL-2.1-only
  • Architecture: x86_64
  • Source Package: libraw
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Libraw
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libraw-tools from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

LibRaw 0.22.1-1.fc45

Library for reading RAW files obtained from digital photo cameras

https://www.libraw.org

sudo dnf install LibRaw
  • License: BSD-3-Clause and (CDDL-1.0 or LGPL-2.1-only)
  • Category: Unspecified
  • Architecture: i686
  • Source Package: LibRaw
  • 9 dependencies
  • 4 provides
  • normalized package name match
  • Matched by: Libraw
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: LibRaw from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

LibRaw-devel 0.22.1-1.fc45

LibRaw development libraries

https://www.libraw.org

sudo dnf install LibRaw-devel
  • License: BSD-3-Clause and (CDDL-1.0 or LGPL-2.1-only)
  • Category: Unspecified
  • Architecture: i686
  • Source Package: LibRaw
  • 5 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Libraw
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: LibRaw-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

LibRaw-samples 0.22.1-1.fc45

LibRaw sample programs

https://www.libraw.org

sudo dnf install LibRaw-samples
  • License: BSD-3-Clause and (CDDL-1.0 or LGPL-2.1-only)
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: LibRaw
  • 10 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Libraw
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: LibRaw-samples from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

LibRaw-static 0.22.1-1.fc45

LibRaw static development libraries

https://www.libraw.org

sudo dnf install LibRaw-static
  • License: BSD-3-Clause and (CDDL-1.0 or LGPL-2.1-only)
  • Category: Unspecified
  • Architecture: i686
  • Source Package: LibRaw
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Libraw
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: LibRaw-static from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

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