# Install jbig2dec with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper

JBIG2 decoder and library (for monochrome documents). Version 0.20 via Homebrew; verified from local package data.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install jbig2dec
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install jbig2dec
```

  Evidence: 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
```

  Evidence: 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
```

  Evidence: 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
```

  Evidence: 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
```

  Evidence: 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
```

  Evidence: 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
```

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

## Package facts

- **Package key:** brew:jbig2dec
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/jbig2dec>
- **Version:** 0.20
- **Source summary:** JBIG2 decoder and library (for monochrome documents)
- **Homepage:** <https://github.com/ArtifexSoftware/jbig2dec>
- **Repository:** <https://github.com/ArtifexSoftware/jbig2dec>
- **Upstream docs:** <https://github.com/ArtifexSoftware/jbig2dec/blob/master/README.md>
- **License:** AGPL-3.0-or-later
- **Source archive:** <https://github.com/ArtifexSoftware/jbig2dec/archive/refs/tags/0.20.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- jbig2dec (cli)
- jbig2dec (alias)

## Build dependencies

- autoconf
- automake
- libtool

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, monterey, sonoma, ventura, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.20
- Local data: ok
- Upstream repository: https://github.com/ArtifexSoftware/jbig2dec
- Upstream latest detected: 0.20 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

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

### Sources

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


## Security Notes

library-like package without higher-risk signals.

- **Geiger risk:** green / low
- library-like package without higher-risk signals

## Source Database Details

- **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

## Other Package-Manager Records

- 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


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Archive and compression packages](https://www.automicvault.com/pkg/archive-compression-tools/) - Matched archive or compression metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [autoconf](https://www.automicvault.com/pkg/brew/autoconf/) - Build dependency declared by Homebrew.
- [automake](https://www.automicvault.com/pkg/brew/automake/) - Build dependency declared by Homebrew.
- [libtool](https://www.automicvault.com/pkg/brew/libtool/) - Build dependency declared by Homebrew.
- [ghostscript](https://www.automicvault.com/pkg/brew/ghostscript/) - Popular package that depends on this formula.
- [mupdf](https://www.automicvault.com/pkg/brew/mupdf/) - Popular package that depends on this formula.
- [jbig2enc](https://www.automicvault.com/pkg/brew/jbig2enc/) - Shares av.db curated category or tags: cli, image-compression, image-processing, jbig2, media.
- [epsilon](https://www.automicvault.com/pkg/brew/epsilon/) - Shares av.db curated category or tags: cli, image-compression, image-processing, media.
- [jbigkit](https://www.automicvault.com/pkg/brew/jbigkit/) - Shares av.db curated category or tags: cli, image-compression, image-processing, media.
- [jpeg-archive](https://www.automicvault.com/pkg/brew/jpeg-archive/) - Shares av.db curated category or tags: cli, image-compression, image-processing, media.
- [libheif](https://www.automicvault.com/pkg/brew/libheif/) - Shares av.db curated category or tags: cli, decoder, image-processing, media.
- [minidjvu](https://www.automicvault.com/pkg/brew/minidjvu/) - Shares av.db curated category or tags: cli, image-compression, image-processing, media.
- [babl](https://www.automicvault.com/pkg/brew/babl/) - Shares av.db curated category or tags: cli, image-processing, media.
- [caire](https://www.automicvault.com/pkg/brew/caire/) - Shares av.db curated category or tags: cli, 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)


## Sources

- 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
