macOS
brew install librawlocal Homebrew formula metadata
sudo port install librawMacPorts ports tree · graphics/libraw/Portfile · source: api.github.com
brew
Library for reading RAW files from digital photo cameras. Version 0.22.1 via Homebrew; verified from local package data.
install
brew install librawlocal Homebrew formula metadata
sudo port install librawMacPorts ports tree · graphics/libraw/Portfile · source: api.github.com
sudo apk add librawAlpine Linux edge package indexes · libraw · source: dl-cdn.alpinelinux.org
sudo apt install libraw-binDebian stable package indexes · libraw-bin · source: deb.debian.org
sudo dnf install LibRawFedora Rawhide package metadata · LibRaw · source: dl.fedoraproject.org
nix profile install nixpkgs#librawnixpkgs package indexes · pkgs/by-name/li/libraw/package.nix · source: api.github.com
sudo pacman -S librawArch Linux sync databases · libraw · source: geo.mirror.pkgbuild.com
sudo zypper install libraw-developenSUSE Tumbleweed package metadata · libraw-devel · source: download.opensuse.org
overview
Library for reading RAW files from digital photo cameras
history
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.
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.
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.
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.
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.
security posture
library-like package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
4channels | cli | global executable | |
dcraw_emu | cli | global executable | |
dcraw_half | cli | global executable | |
half_mt | cli | global executable | |
mem_image | cli | global executable | |
multirender_test | cli | global executable | |
postprocessing_benchmark | cli | global executable | |
raw-identify | cli | global executable | |
rawtextdump | cli | global executable | |
simple_dcraw | cli | global executable | |
unprocessed_raw | cli | global executable |
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.
install metadata
| Package key | brew:libraw |
|---|---|
| Version | 0.22.1 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/libraw |
| Homepage | https://www.libraw.org/ |
| Repository | https://github.com/LibRaw/LibRaw |
| Upstream docs | https://www.libraw.org/docs |
| License | LGPL-2.1-only OR CDDL-1.0 |
| Source archive | https://www.libraw.org/data/LibRaw-0.22.1.tar.gz |
| Dependencies | jpeg-turbo, libomp, little-cms2 |
| Build dependencies | pkgconf |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | libraw |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
libraw-bin 0.21.4-2
raw image decoder library (tools)
sudo apt install libraw-binlibraw-dev 0.21.4-2
raw image decoder library (development files)
sudo apt install libraw-devlibraw-doc 0.21.4-2
raw image decoder library (documentation)
sudo apt install libraw-doclibraw23t64 0.21.4-2
raw image decoder library
sudo apt install libraw23t64libraw
nix profile install nixpkgs#librawlibraw-bin 0.21.2-2.1build1
raw image decoder library (tools)
sudo apt install libraw-binlibraw-dev 0.21.2-2.1build1
raw image decoder library (development files)
sudo apt install libraw-devlibraw-doc 0.21.2-2.1build1
raw image decoder library (documentation)
sudo apt install libraw-doclibraw23t64 0.21.2-2.1build1
raw image decoder library
sudo apt install libraw23t64libraw 0.22.1-r0
Library for reading RAW files obtained from digital photo cameras
sudo apk add librawlibraw-dev 0.22.1-r0
Library for reading RAW files obtained from digital photo cameras (development files)
sudo apk add libraw-devlibraw-tools 0.22.1-r0
tools for LibRaw
sudo apk add libraw-toolsLibRaw 0.22.1-1.fc45
Library for reading RAW files obtained from digital photo cameras
sudo dnf install LibRawLibRaw-devel 0.22.1-1.fc45
LibRaw development libraries
sudo dnf install LibRaw-develLibRaw-samples 0.22.1-1.fc45
LibRaw sample programs
sudo dnf install LibRaw-samplesLibRaw-static 0.22.1-1.fc45
LibRaw static development libraries
sudo dnf install LibRaw-staticsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.