# jbig2dec を Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper でインストール

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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## パッケージ情報

- **パッケージキー:** brew:jbig2dec
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.20
- **ソース概要:** JBIG2 decoder and library (for monochrome documents)
- **ホームページ:** <https://github.com/ArtifexSoftware/jbig2dec>
- **リポジトリ:** <https://github.com/ArtifexSoftware/jbig2dec>
- **最終更新:** 2026-07-28T13:57:49+09:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- jbig2dec (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 0.20
## プロジェクトの歴史と使われ方

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

## 他のパッケージマネージャ記録

- 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-9.fc45: normalized package name match | Fedora Rawhide package metadata: jbig2dec from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | A decoder implementation of the JBIG2 image compression format | https://jbig2dec.com
- dnf - jbig2dec-devel - 0.20-9.fc45: 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Static library and header files for development with jbig2dec | https://jbig2dec.com
- dnf - jbig2dec-libs - 0.20-9.fc45: 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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.10: normalized package name match | openSUSE Tumbleweed package metadata: jbig2dec from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | JBIG2 Decoder Utility | https://jbig2dec.com
- zypper - jbig2dec-devel - 0.20-2.10: normalized package name match | openSUSE Tumbleweed package metadata: jbig2dec-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | JBIG2 decoder development files | https://jbig2dec.com


## Combined YAML source

View the package source record on GitHub. [combined/jbig2dec.yml](https://github.com/mxcl/pkgdb/blob/main/combined/jbig2dec.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
