Automic VaultAutomic Vault

brew

使用 Homebrew, apk, MacPorts, Nix, pacman, apt, dnf, zypper 安装 libraw

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install libraw

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install libraw

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

Linux

Alpine Linux apk已验证 · 92%
sudo apk add libraw

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

Nix已验证 · 92%
nix profile install nixpkgs#libraw

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

Arch Linux pacman已验证 · 92%
sudo pacman -S libraw

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

Debian apt已验证 · 92%
sudo apt install libraw-bin

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

Fedora dnf已验证 · 92%
sudo dnf install LibRaw

Fedora Rawhide package metadata · LibRaw · 来源: dl.fedoraproject.org

openSUSE zypper已验证 · 92%
sudo zypper install libraw-devel

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

概览

软件包摘要

Library for reading RAW files from digital photo cameras

命令和别名

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

历史

项目历史与用法

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.

时间线

  • 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.

安全态势

风险级别:绿色

library-like package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • library-like package without higher-risk signals

信号

  • metadata:library-like

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 3 个运行时依赖。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
4channelscli全局可执行文件
dcraw_emucli全局可执行文件
dcraw_halfcli全局可执行文件
half_mtcli全局可执行文件
mem_imagecli全局可执行文件
multirender_testcli全局可执行文件
postprocessing_benchmarkcli全局可执行文件
raw-identifycli全局可执行文件
rawtextdumpcli全局可执行文件
simple_dcrawcli全局可执行文件
unprocessed_rawcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本0.22.2
管理器更新时间2026-07-16
本地数据OK
上游not checked
检测到的最新版本未检测到

https://www.libraw.org/

安装元数据

软件包元数据

软件包键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
Pulseupdated
依赖jpeg-turbo, libomp, little-cms2
构建依赖pkgconf
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 4 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • 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