# 使用 Homebrew, apt, Nix 安装 jpeg-xl

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

## 安装

```sh
sudo av install brew:jpeg-xl
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install jpeg-xl
```

  证据: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install jpeg-xl-doc
```

  证据: Debian stable package indexes: jpeg-xl-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#ssimulacra2
```

  证据: nixpkgs package indexes: pkgs/by-name/ss/ssimulacra2/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:jpeg-xl
- **软件包管理器:** Homebrew
- **版本:** 0.12.0
- **来源摘要:** New file format for still image compression
- **主页:** <https://jpeg.org/jpegxl/index.html>
- **仓库:** <https://github.com/libjxl/libjxl>
- **最后更新:** 2026-07-05T23:07:19Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- benchmark_xl (别名)
- butteraugli_main (别名)
- cjxl (别名)
- decode_and_encode (别名)
- display_to_hlg (别名)
- djxl (别名)
- djxl_fuzzer_corpus (别名)
- exr_to_pq (别名)
- generate_lut_template (别名)
- icc_simplify (别名)
- jxl_from_tree (别名)
- jxlinfo (别名)
- jxltran (别名)
- local_tone_map (别名)
- pq_to_hlg (别名)
- render_hlg (别名)
- ssimulacra2 (别名)
- ssimulacra_main (别名)
- texture_to_cube (别名)
- tone_map (别名)
- xyb_range (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.12.0
## 项目历史与用法

JPEG XL is the ISO/IEC 18181 still-image coding system and libjxl is its open-source reference implementation. In package-manager terms, the Homebrew jpeg-xl formula exposes the practical tools around the standard, especially cjxl for encoding and djxl for decoding.

### 项目历史

JPEG XL grew through the JPEG committee standardization process. The official documentation lists an April 2018 final call for proposals and March 2019 use-cases and requirements work. The official workplan lists the file format edition from 2021, core coding and conformance editions from 2022, and reference software as ISO/IEC 18181-4:2022.

The libjxl repository is the reference implementation for JPEG XL, including encoder and decoder libraries plus command-line tools. Its README states that files encoded with cjxl conform to the JPEG XL specification and can be decoded by future djxl decoders or the libjxl decoding library.

### 采用历史

JPEG XL adoption has been both standards-driven and package-driven. The official JPEG site positions it for responsive web delivery, professional photography, wide color gamut, high dynamic range, alpha, animation, lossless coding, progressive coding, and lossless recompression of existing JPEG files.

The libjxl README documents availability through Linux distributions and Homebrew, with Debian-style packages installing tools such as cjxl and djxl. The repository also points to application integrations, plugins, examples, a community site, and discussion channels, reflecting a codec ecosystem rather than a single binary.

### 使用方式

Users encode with commands such as cjxl input.png output.jxl and decode with djxl input.jxl output.png. For JPEG input, libjxl can losslessly recompress an existing JPEG into JPEG XL and later reconstruct the original JPEG bitstream.

### 为什么软件包爱好者会关心

jpeg-xl is important because it packages an active image standard, not merely an implementation. Installing it gives users the reference codec, benchmark and quality tools, and the command-line handles needed to test JPEG XL workflows before or alongside application-level support.

It is also a case study in codec packaging tension: standards work, browser/application adoption, conformance testing, patents/licensing, and distro integration all matter before a new image format feels real to users.

### 时间线

- 2018: JPEG issued the final call for proposals for a next-generation image coding standard.
- 2019: JPEG XL use cases and requirements were documented at the March 2019 Geneva meeting.
- 2021: ISO/IEC 18181-2:2021 file format edition was published.
- 2022: JPEG XL was standardized as ISO/IEC 18181, with core coding, conformance, and reference software parts in the 2022 generation.
- 2024: ISO/IEC 18181-1:2024 published a second edition of the core coding system.
- 2025: ISO/IEC 18181-3:2025 published a second edition of conformance testing.
- 2026: ISO/IEC 18181-2:2026 appeared as a third edition file-format publication.

### Related projects

- libjxl is the reference software implementation for JPEG XL.
- The official JPEG software page also lists jxl-rs, jxl-oxide, and libjxl/conformance.
- jpegli is identified by the libjxl README as continuing in google/jpegli.
- JPEG XL is related to legacy JPEG through its lossless JPEG transcoding and reconstruction feature.

### 来源

- <https://formulae.brew.sh/formula/jpeg-xl>
- <https://github.com/libjxl/libjxl>
- <https://github.com/libjxl/libjxl#readme>
- <https://github.com/libjxl/libjxl/releases>
- <https://jpeg.org/jpegxl/documentation.html>
- <https://jpeg.org/jpegxl/index.html>
- <https://jpeg.org/jpegxl/software.html>
- <https://jpeg.org/jpegxl/workplan.html>


## 安全说明

broad file, network, media, or database tool signal.

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal

## 其他软件包管理器记录

- Debian apt - jpeg-xl-doc - 0.11.2-0.1~deb13u2: normalized package name match | Debian stable package indexes: jpeg-xl-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | JPEG XL Image Coding System - "JXL" (documentation) | https://github.com/libjxl/libjxl
- Debian apt - libjpegxl-java - 0.11.2-0.1~deb13u2: normalized package name match | Debian stable package indexes: libjpegxl-java from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | JPEG XL Image Coding System - "JXL" (java bindings) | https://github.com/libjxl/libjxl
- Debian apt - libjxl-dev - 0.11.2-0.1~deb13u2: normalized package name match | Debian stable package indexes: libjxl-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | JPEG XL Image Coding System - "JXL" (development files) | https://github.com/libjxl/libjxl
- Debian apt - libjxl-devtools - 0.11.2-0.1~deb13u2: normalized package name match | Debian stable package indexes: libjxl-devtools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | JPEG XL Image Coding System - "JXL" (dev command line utility) | https://github.com/libjxl/libjxl
- Debian apt - libjxl-gdk-pixbuf - 0.11.2-0.1~deb13u2: normalized package name match | Debian stable package indexes: libjxl-gdk-pixbuf from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | JPEG XL Plugin for gdk-pixbuf | https://github.com/libjxl/libjxl
- Debian apt - libjxl-tools - 0.11.2-0.1~deb13u2: normalized package name match | Debian stable package indexes: libjxl-tools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | JPEG XL Image Coding System - "JXL" (command line utility) | https://github.com/libjxl/libjxl
- Debian apt - libjxl0.11 - 0.11.2-0.1~deb13u2: normalized package name match | Debian stable package indexes: libjxl0.11 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | JPEG XL Image Coding System - "JXL" (shared libraries) | https://github.com/libjxl/libjxl
- Ubuntu apt - jpeg-xl-doc - 0.7.0-10.2ubuntu6: normalized package name match | Ubuntu 24.04 LTS package indexes: jpeg-xl-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | JPEG XL Image Coding System - "JXL" (documentation) | https://github.com/libjxl/libjxl
- Ubuntu apt - libjpegxl-java - 0.7.0-10.2ubuntu6: normalized package name match | Ubuntu 24.04 LTS package indexes: libjpegxl-java from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | JPEG XL Image Coding System - "JXL" (java bindings) | https://github.com/libjxl/libjxl
- Ubuntu apt - libjxl-dev - 0.7.0-10.2ubuntu6: normalized package name match | Ubuntu 24.04 LTS package indexes: libjxl-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | JPEG XL Image Coding System - "JXL" (development files) | https://github.com/libjxl/libjxl
- Ubuntu apt - libjxl-devtools - 0.7.0-10.2ubuntu6: normalized package name match | Ubuntu 24.04 LTS package indexes: libjxl-devtools from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | JPEG XL Image Coding System - "JXL" (dev command line utility) | https://github.com/libjxl/libjxl
- Ubuntu apt - libjxl-tools - 0.7.0-10.2ubuntu6: normalized package name match | Ubuntu 24.04 LTS package indexes: libjxl-tools from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | JPEG XL Image Coding System - "JXL" (command line utility) | https://github.com/libjxl/libjxl
- Ubuntu apt - libjxl0.7 - 0.7.0-10.2ubuntu6: normalized package name match | Ubuntu 24.04 LTS package indexes: libjxl0.7 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | JPEG XL Image Coding System - "JXL" (shared libraries) | https://github.com/libjxl/libjxl
- Nix - ssimulacra2: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/ss/ssimulacra2/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/jpeg-xl.yml](https://github.com/mxcl/pkgdb/blob/main/combined/jpeg-xl.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
