macOS
brew install librawlocal Homebrew formula metadata
sudo port install librawMacPorts ports tree · graphics/libraw/Portfile · 来源: api.github.com
安装
brew install librawlocal Homebrew formula metadata
sudo port install librawMacPorts ports tree · graphics/libraw/Portfile · 来源: api.github.com
sudo apk add librawAlpine Linux edge package indexes · libraw · 来源: dl-cdn.alpinelinux.org
nix profile install nixpkgs#librawnixpkgs package indexes · pkgs/by-name/li/libraw/package.nix · 来源: api.github.com
sudo pacman -S librawArch Linux sync databases · libraw · 来源: geo.mirror.pkgbuild.com
sudo apt install libraw-binDebian stable package indexes · libraw-bin · 来源: deb.debian.org
sudo dnf install LibRawFedora Rawhide package metadata · LibRaw · 来源: dl.fedoraproject.org
sudo zypper install libraw-developenSUSE Tumbleweed package metadata · libraw-devel · 来源: download.opensuse.org
概览
Library for reading RAW files from digital photo cameras
历史
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.
安全态势
library-like package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
4channels | cli | 全局可执行文件 | |
dcraw_emu | cli | 全局可执行文件 | |
dcraw_half | cli | 全局可执行文件 | |
half_mt | cli | 全局可执行文件 | |
mem_image | cli | 全局可执行文件 | |
multirender_test | cli | 全局可执行文件 | |
postprocessing_benchmark | cli | 全局可执行文件 | |
raw-identify | cli | 全局可执行文件 | |
rawtextdump | cli | 全局可执行文件 | |
simple_dcraw | cli | 全局可执行文件 | |
unprocessed_raw | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:libraw |
|---|---|
| 版本 | 0.22.2 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/libraw |
| 主页 | https://www.libraw.org/ |
| 仓库 | https://github.com/LibRaw/LibRaw |
| 上游文档 | https://www.libraw.org/docs |
| 许可证 | LGPL-2.1-only OR CDDL-1.0 |
| 源码归档 | https://www.libraw.org/data/LibRaw-0.22.2.tar.gz |
| 最后更新 | 2026-07-16T10:08:25Z |
| Pulse | updated |
| 依赖 | jpeg-turbo, libomp, little-cms2 |
| 构建依赖 | pkgconf |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
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-static来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.