Automic VaultAutomic Vault

brew

Install zxing-cpp with Homebrew, apk, apt, dnf, Nix, pacman, zypper

Multi-format barcode image processing library written in C++. Version 3.1.0 via Homebrew; verified 2026-07-07.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install zxing-cpp

local Homebrew formula metadata

Linux

Alpine Linux apkverified · 92%
sudo apk add py3-zxing-cpp

Alpine Linux edge package indexes · py3-zxing-cpp · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install libzxing-dev

Debian stable package indexes · libzxing-dev · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install python3-zxing-cpp

Fedora Rawhide package metadata · python3-zxing-cpp · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#zxing-cpp

nixpkgs package indexes · pkgs/by-name/zx/zxing-cpp/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S zxing-cpp

Arch Linux sync databases · zxing-cpp · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install libZXing3

openSUSE Tumbleweed package metadata · libZXing3 · source: download.opensuse.org

overview

Package summary

Multi-format barcode image processing library written in C++

Commands and aliases

  • ZXingReader
  • ZXingWriter

history

Project history and usage

ZXing-C++ is the actively developed C++ implementation of the ZXing barcode engine, covering multi-format 1D and 2D barcode reading and writing with bindings for native, mobile, scripting, and WebAssembly environments.

Project history

ZXing itself began as the Java 'Zebra Crossing' barcode library with ports to other languages. ZXing-C++ started as a C++ port of that Java codebase, with public zxing-cpp repository history beginning in 2016 and a 1.0.0 release line by 2018.

The modern project is no longer just a direct port. Its README says it has been developed further with runtime and detection-performance improvements, a pure C++ core, thread safety, read/write support, and wrappers for C, Python, Rust, Go, Qt, Android, iOS, .NET, WebAssembly, WinRT, Kotlin/Native, and other ecosystems. Version 3.0 moved the default writing backend to zint.

Adoption history

ZXing-C++ became the practical native-package answer for software that wanted ZXing's barcode coverage without embedding a Java runtime. It is packaged by C/C++ dependency managers, operating-system distributions, and language wrappers, and it is used where QR, Data Matrix, PDF417, Aztec, EAN/UPC, Code 128, and related formats must be decoded from images or camera frames.

Its broad wrapper set is the adoption story: one C++ core can serve desktop applications, mobile apps, Python scripts, Rust programs, Qt applications, WebAssembly demos, and command-line workflows. That makes the package a hub for barcode functionality across otherwise separate language ecosystems.

How it is used

As a library, applications pass image data into ReaderOptions and ReadBarcodes, then inspect Barcode objects for text, format, content type, and position. For generation, callers create barcode objects and write them to images, SVG, or text representations. The package also installs example-style command-line tools such as ZXingReader and ZXingWriter.

Why package nerds care

ZXing-C++ matters because barcode support is a dependency people discover only when they need it immediately. A maintained native package with many wrappers prevents every app from carrying its own stale ZXing fork, and gives package managers a single high-quality implementation to expose across C++, Python, Rust, Qt, and WebAssembly stacks.

Timeline

  • 2016: Public zxing-cpp git history begins.
  • 2018: v1.0.0-era release line establishes the independent C++ package.
  • 2023: v2.0.0-era work reflects the project's modern C++ build direction.
  • 2026: v3.0.0-era release adopts zint as the default writing backend.

Related projects

  • ZXing: the original Java barcode image-processing library.
  • zint: barcode generation library used as the default writing backend since ZXing-C++ 3.0.
  • zxing-wasm and other wrappers: downstream packages that expose ZXing-C++ to web and language runtimes.

security posture

Risk level: blue

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

Risk classifier

blue risk · medium confidence · tool

Why

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

Signals

  • text:image

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
ZXingReadercliglobal executable
ZXingWritercliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version3.1.0
manager updated2026-07-07
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/zxing-cpp/zxing-cpp

install metadata

Package metadata

Package keybrew:zxing-cpp
Version3.1.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/zxing-cpp
Homepagehttps://github.com/zxing-cpp/zxing-cpp
Repositoryhttps://github.com/zxing-cpp/zxing-cpp
Upstream docshttps://zxing-cpp.github.io/zxing-cpp/docs/latest
LicenseApache-2.0
Source archivehttps://github.com/zxing-cpp/zxing-cpp/releases/download/v3.1.0/zxing-cpp-3.1.0.tar.gz
Last updated2026-07-07T20:35:59Z
Pulseupdated
Build dependenciescmake
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namezxing-cpp
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

libzxing-dev 2.3.0-4

C++ port of ZXing library (development files)

https://github.com/zxing-cpp/zxing-cpp

sudo apt install libzxing-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: zxing-cpp
  • 1 dependencies
  • normalized package name match
  • Matched by: Zxing Cpp
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libzxing-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libzxing3 2.3.0-4

C++ port of ZXing library (library files)

https://github.com/zxing-cpp/zxing-cpp

sudo apt install libzxing3
  • Section: libs
  • Architecture: amd64
  • Source Package: zxing-cpp
  • 3 dependencies
  • normalized package name match
  • Matched by: Zxing Cpp
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libzxing3 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

python3-zxing-cpp 2.3.0-4

C++ port of ZXing library (python3 binding)

https://github.com/zxing-cpp/zxing-cpp

sudo apt install python3-zxing-cpp
  • Section: python
  • Architecture: amd64
  • Source Package: zxing-cpp
  • 6 dependencies
  • normalized package name match
  • Matched by: Zxing Cpp
Debian stable package indexes · deb.debian.org · Debian stable package indexes: python3-zxing-cpp from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

zxing-cpp-tools 2.3.0-4

Utilities provided by ZXing library

https://github.com/zxing-cpp/zxing-cpp

sudo apt install zxing-cpp-tools
  • Section: utils
  • Architecture: amd64
  • Source Package: zxing-cpp
  • 4 dependencies
  • normalized package name match
  • Matched by: Zxing Cpp
Debian stable package indexes · deb.debian.org · Debian stable package indexes: zxing-cpp-tools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

zxing-cpp

nix profile install nixpkgs#zxing-cpp
  • normalized package name match
  • Matched by: Zxing Cpp
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/zx/zxing-cpp/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

libzxing-dev 2.2.1-3

C++ port of ZXing library (development files)

https://github.com/zxing-cpp/zxing-cpp

sudo apt install libzxing-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: zxing-cpp
  • 1 dependencies
  • normalized package name match
  • Matched by: Zxing Cpp
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libzxing-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libzxing3 2.2.1-3

C++ port of ZXing library (library files)

https://github.com/zxing-cpp/zxing-cpp

sudo apt install libzxing3
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: zxing-cpp
  • 3 dependencies
  • normalized package name match
  • Matched by: Zxing Cpp
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libzxing3 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

python3-zxing-cpp 2.2.1-3

C++ port of ZXing library (python3 binding)

https://github.com/zxing-cpp/zxing-cpp

sudo apt install python3-zxing-cpp
  • Section: universe/python
  • Architecture: amd64
  • Source Package: zxing-cpp
  • 6 dependencies
  • normalized package name match
  • Matched by: Zxing Cpp
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: python3-zxing-cpp from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

zxing-cpp-tools 2.2.1-3

Utilities provided by ZXing library

https://github.com/zxing-cpp/zxing-cpp

sudo apt install zxing-cpp-tools
  • Section: universe/utils
  • Architecture: amd64
  • Source Package: zxing-cpp
  • 4 dependencies
  • normalized package name match
  • Matched by: Zxing Cpp
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: zxing-cpp-tools from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

py3-zxing-cpp 2.3.0-r3

C++ port of ZXing

https://github.com/zxing-cpp/zxing-cpp

sudo apk add py3-zxing-cpp
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: zxing-cpp
  • 1 dependencies
  • normalized package name match
  • Matched by: Zxing Cpp
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: py3-zxing-cpp from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

zxing 2.3.0-r3

C++ port of ZXing

https://github.com/zxing-cpp/zxing-cpp

sudo apk add zxing
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: zxing-cpp
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Zxing Cpp
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: zxing from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

zxing-cpp 2.3.0-r3

C++ port of ZXing

https://github.com/zxing-cpp/zxing-cpp

sudo apk add zxing-cpp
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: zxing-cpp
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Zxing Cpp
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: zxing-cpp from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

zxing-cpp-dev 2.3.0-r3

C++ port of ZXing (development files)

https://github.com/zxing-cpp/zxing-cpp

sudo apk add zxing-cpp-dev
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: zxing-cpp
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Zxing Cpp
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: zxing-cpp-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

python3-zxing-cpp 2.2.1-7.fc45

Python bindings for the zxing-cpp barcode library

https://github.com/zxing-cpp/zxing-cpp

sudo dnf install python3-zxing-cpp
  • License: Apache-2.0 AND MIT
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: zxing-cpp
  • 7 dependencies
  • 5 provides
  • normalized package name match
  • Matched by: Zxing Cpp
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: python3-zxing-cpp from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

zxing-cpp 2.2.1-7.fc45

C++ port of the ZXing ("Zebra Crossing") barcode scanning library

https://github.com/zxing-cpp/zxing-cpp

sudo dnf install zxing-cpp
  • License: Apache-2.0 AND MIT
  • Category: Unspecified
  • Architecture: i686
  • Source Package: zxing-cpp
  • 6 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Zxing Cpp
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: zxing-cpp from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

zxing-cpp-devel 2.2.1-7.fc45

Development files for zxing-cpp

https://github.com/zxing-cpp/zxing-cpp

sudo dnf install zxing-cpp-devel
  • License: Apache-2.0 AND MIT
  • Category: Unspecified
  • Architecture: i686
  • Source Package: zxing-cpp
  • 4 dependencies
  • 3 provides
  • normalized package name match
  • Matched by: Zxing Cpp
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: zxing-cpp-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • 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