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

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

## 安装

```sh
sudo av install brew:jbig2dec
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install jbig2dec
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install jbig2dec
```

  证据: MacPorts ports tree: graphics/jbig2dec/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add jbig2dec
```

  证据: Alpine Linux edge package indexes: jbig2dec from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install jbig2dec
```

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

- dnf (92%):

```sh
sudo dnf install jbig2dec
```

  证据: Fedora Rawhide package metadata: jbig2dec from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#jbig2dec
```

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

- pacman (92%):

```sh
sudo pacman -S jbig2dec
```

  证据: Arch Linux sync databases: jbig2dec from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install jbig2dec
```

  证据: openSUSE Tumbleweed package metadata: jbig2dec from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## 软件包事实

- **软件包键:** brew:jbig2dec
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/jbig2dec>
- **版本:** 0.20
- **来源摘要:** JBIG2 decoder and library (for monochrome documents)
- **主页:** <https://github.com/ArtifexSoftware/jbig2dec>
- **仓库:** <https://github.com/ArtifexSoftware/jbig2dec>
- **上游文档:** <https://github.com/ArtifexSoftware/jbig2dec/blob/master/README.md>
- **许可证:** AGPL-3.0-or-later
- **源码归档:** <https://github.com/ArtifexSoftware/jbig2dec/archive/refs/tags/0.20.tar.gz>
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- jbig2dec (cli)
- jbig2dec (别名)

## 构建依赖

- autoconf
- automake
- libtool

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, monterey, sonoma, ventura, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 0.20
- 本地数据: OK
- 上游仓库: https://github.com/ArtifexSoftware/jbig2dec
- 检测到的最新版本: 0.20 (当前)
- 信息: No package-manager update timestamp was available.
## 项目历史与用法

jbig2dec is a decoder library and command-line utility for the JBIG2 bi-level image compression format, also known as ITU T.88 and ISO/IEC 14492. Its practical niche is decoding monochrome scanned-document images, including JBIG2 streams embedded in PDF files.

### 项目历史

The project README describes jbig2dec as a decoder library and example utility, with development source kept in the Ghostscript Git repository and a GitHub mirror under ArtifexSoftware. The README also notes that the GitHub repository is a mirror and that releases are hosted through GitHub tags.

The SourceForge project page records that jbig2dec is no longer hosted there and points users to Ghostscript. That migration reflects the project's place in the Artifex/Ghostscript ecosystem, where JBIG2 decoding is part of broader PDF and page-description-language handling.

### 采用历史

The input metadata shows packaging across Homebrew, Alpine, Debian/Ubuntu, Fedora, MacPorts, Nix, Arch, and openSUSE. That broad packaging footprint matches a small C utility/library whose value is mostly as infrastructure for document conversion, PDF processing, and image decoding stacks.

### 使用方式

The command can decode a single JBIG2 stream to PNG or PBM output, or accept separate global and page streams used by embedded PDF organization. The man page documents diagnostic, dump, hash, quiet, verbose, and output-format options, while the README says the decoder remains useful in limited contexts and requests problematic files for testing.

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

jbig2dec is the kind of compact media package that earns its place by handling one difficult format well enough for bigger tools to depend on it. It is especially relevant to PDF pipelines because JBIG2 is referenced by PDF 1.4 and later, and because scanned monochrome documents can achieve very high compression ratios.

### 时间线

- SourceForge era: jbig2dec is hosted as a standalone open-source project.
- Ghostscript era: Project hosting moves away from SourceForge and into the Ghostscript/Artifex ecosystem.
- 2023: The man page identifies version 0.20 and documents the command-line interface.
- Packaging era: Major Unix-like package managers carry jbig2dec as a small media/decoder dependency.

### Related projects

- jbig2dec is related to JBIG2, ITU T.88, ISO/IEC 14492, PDF 1.4 and later, Ghostscript, Artifex, MuPDF, scanned-document compression, PNG, and PBM output tooling.

### 来源

- <https://github.com/ArtifexSoftware/jbig2dec>
- <https://github.com/ArtifexSoftware/jbig2dec/blob/master/README>
- <https://github.com/ArtifexSoftware/jbig2dec/blob/master/jbig2dec.1>
- <https://sourceforge.net/projects/jbig2dec/>
- source_facts.package-manager


## 安全说明

library-like package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- library-like package without higher-risk signals

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** jbig2dec
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

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

- Debian apt - jbig2dec - 0.20-1+b3: normalized package name match | Debian stable package indexes: jbig2dec from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | JBIG2 decoder library - tools | https://jbig2dec.com/
- Debian apt - libjbig2dec0 - 0.20-1+b3: normalized package name match | Debian stable package indexes: libjbig2dec0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | JBIG2 decoder library - shared libraries | https://jbig2dec.com/
- Debian apt - libjbig2dec0-dev - 0.20-1+b3: normalized package name match | Debian stable package indexes: libjbig2dec0-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | JBIG2 decoder library - development files | https://jbig2dec.com/
- Nix - jbig2dec: normalized package name match | nixpkgs package indexes: pkgs/by-name/jb/jbig2dec/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - jbig2dec - 0.20-1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: jbig2dec from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | JBIG2 decoder library - tools | https://jbig2dec.com/
- Ubuntu apt - libjbig2dec0 - 0.20-1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: libjbig2dec0 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | JBIG2 decoder library - shared libraries | https://jbig2dec.com/
- Ubuntu apt - libjbig2dec0-dev - 0.20-1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: libjbig2dec0-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | JBIG2 decoder library - development files | https://jbig2dec.com/
- apk - jbig2dec - 0.20-r0: normalized package name match | Alpine Linux edge package indexes: jbig2dec from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | JBIG2 image compression format decoder | https://jbig2dec.com/
- apk - jbig2dec-dev - 0.20-r0: normalized package name match | Alpine Linux edge package indexes: jbig2dec-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | JBIG2 image compression format decoder (development files) | https://jbig2dec.com/
- apk - jbig2dec-doc - 0.20-r0: normalized package name match | Alpine Linux edge package indexes: jbig2dec-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | JBIG2 image compression format decoder (documentation) | https://jbig2dec.com/
- dnf - jbig2dec - 0.20-8.fc44: normalized package name match | Fedora Rawhide package metadata: jbig2dec from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | A decoder implementation of the JBIG2 image compression format | https://jbig2dec.com
- dnf - jbig2dec-devel - 0.20-8.fc44: normalized package name match | Fedora Rawhide package metadata: jbig2dec-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Static library and header files for development with jbig2dec | https://jbig2dec.com
- dnf - jbig2dec-libs - 0.20-8.fc44: normalized package name match | Fedora Rawhide package metadata: jbig2dec-libs from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | A decoder implementation of the JBIG2 image compression format | https://jbig2dec.com
- pacman - jbig2dec - 0.20-2: normalized package name match | Arch Linux sync databases: jbig2dec from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Decoder implementation of the JBIG2 image compression format | https://jbig2dec.com/
- zypper - jbig2dec - 0.20-2.8: normalized package name match | openSUSE Tumbleweed package metadata: jbig2dec from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | JBIG2 Decoder Utility | https://jbig2dec.com
- zypper - jbig2dec-devel - 0.20-2.8: normalized package name match | openSUSE Tumbleweed package metadata: jbig2dec-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | JBIG2 decoder development files | https://jbig2dec.com


## 相关链接

- [Source-control packages](https://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Archive and compression packages](https://www.automicvault.com/zh-hans/pkg/archive-compression-tools/) - Matched archive or compression metadata.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [autoconf](https://www.automicvault.com/zh-hans/pkg/brew/autoconf/) - Build dependency declared by Homebrew.
- [automake](https://www.automicvault.com/zh-hans/pkg/brew/automake/) - Build dependency declared by Homebrew.
- [libtool](https://www.automicvault.com/zh-hans/pkg/brew/libtool/) - Build dependency declared by Homebrew.
- [ghostscript](https://www.automicvault.com/zh-hans/pkg/brew/ghostscript/) - Popular package that depends on this formula.
- [mupdf](https://www.automicvault.com/zh-hans/pkg/brew/mupdf/) - Popular package that depends on this formula.
- [jbig2enc](https://www.automicvault.com/zh-hans/pkg/brew/jbig2enc/) - Shares av.db curated category or tags: cli, image-compression, image-processing, jbig2, media.
- [epsilon](https://www.automicvault.com/zh-hans/pkg/brew/epsilon/) - Shares av.db curated category or tags: cli, image-compression, image-processing, media.
- [jbigkit](https://www.automicvault.com/zh-hans/pkg/brew/jbigkit/) - Shares av.db curated category or tags: cli, image-compression, image-processing, media.
- [jpeg-archive](https://www.automicvault.com/zh-hans/pkg/brew/jpeg-archive/) - Shares av.db curated category or tags: cli, image-compression, image-processing, media.
- [libheif](https://www.automicvault.com/zh-hans/pkg/brew/libheif/) - Shares av.db curated category or tags: cli, decoder, image-processing, media.
- [minidjvu](https://www.automicvault.com/zh-hans/pkg/brew/minidjvu/) - Shares av.db curated category or tags: cli, image-compression, image-processing, media.
- [babl](https://www.automicvault.com/zh-hans/pkg/brew/babl/) - Shares av.db curated category or tags: cli, image-processing, media.
- [caire](https://www.automicvault.com/zh-hans/pkg/brew/caire/) - Shares av.db curated category or tags: cli, image-processing, media.
- [mozjpeg](https://www.automicvault.com/zh-hans/pkg/npm/mozjpeg/) - Both packages work with overlapping file formats or content types. Shared terms: cli, compression, image, image-processing, media.

## Combined YAML source

View the package source record on GitHub. [combined/jbig2dec.yml](https://github.com/automic-vault/db/blob/main/combined/jbig2dec.yml)


## 来源

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