macOS
brew install zxing-cpplocal Homebrew formula metadata
brew
Multi-format barcode image processing library written in C++. Version 3.1.0 via Homebrew; verified 2026-07-07.
install
brew install zxing-cpplocal Homebrew formula metadata
sudo apk add py3-zxing-cppAlpine Linux edge package indexes · py3-zxing-cpp · source: dl-cdn.alpinelinux.org
sudo apt install libzxing-devDebian stable package indexes · libzxing-dev · source: deb.debian.org
sudo dnf install python3-zxing-cppFedora Rawhide package metadata · python3-zxing-cpp · source: dl.fedoraproject.org
nix profile install nixpkgs#zxing-cppnixpkgs package indexes · pkgs/by-name/zx/zxing-cpp/package.nix · source: api.github.com
sudo pacman -S zxing-cppArch Linux sync databases · zxing-cpp · source: geo.mirror.pkgbuild.com
sudo zypper install libZXing3openSUSE Tumbleweed package metadata · libZXing3 · source: download.opensuse.org
overview
Multi-format barcode image processing library written in C++
history
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.
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.
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.
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.
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.
security posture
broad file, network, media, or database tool signal.
blue risk · medium confidence · tool
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
ZXingReader | cli | global executable | |
ZXingWriter | cli | global executable |
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.
https://github.com/zxing-cpp/zxing-cpp
install metadata
| Package key | brew:zxing-cpp |
|---|---|
| Version | 3.1.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/zxing-cpp |
| Homepage | https://github.com/zxing-cpp/zxing-cpp |
| Repository | https://github.com/zxing-cpp/zxing-cpp |
| Upstream docs | https://zxing-cpp.github.io/zxing-cpp/docs/latest |
| License | Apache-2.0 |
| Source archive | https://github.com/zxing-cpp/zxing-cpp/releases/download/v3.1.0/zxing-cpp-3.1.0.tar.gz |
| Last updated | 2026-07-07T20:35:59Z |
| Pulse | updated |
| Build dependencies | cmake |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | zxing-cpp |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
libzxing-dev 2.3.0-4
C++ port of ZXing library (development files)
https://github.com/zxing-cpp/zxing-cpp
sudo apt install libzxing-devlibzxing3 2.3.0-4
C++ port of ZXing library (library files)
https://github.com/zxing-cpp/zxing-cpp
sudo apt install libzxing3python3-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-cppzxing-cpp-tools 2.3.0-4
Utilities provided by ZXing library
https://github.com/zxing-cpp/zxing-cpp
sudo apt install zxing-cpp-toolszxing-cpp
nix profile install nixpkgs#zxing-cpplibzxing-dev 2.2.1-3
C++ port of ZXing library (development files)
https://github.com/zxing-cpp/zxing-cpp
sudo apt install libzxing-devlibzxing3 2.2.1-3
C++ port of ZXing library (library files)
https://github.com/zxing-cpp/zxing-cpp
sudo apt install libzxing3python3-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-cppzxing-cpp-tools 2.2.1-3
Utilities provided by ZXing library
https://github.com/zxing-cpp/zxing-cpp
sudo apt install zxing-cpp-toolspy3-zxing-cpp 2.3.0-r3
C++ port of ZXing
https://github.com/zxing-cpp/zxing-cpp
sudo apk add py3-zxing-cppzxing 2.3.0-r3
C++ port of ZXing
https://github.com/zxing-cpp/zxing-cpp
sudo apk add zxingzxing-cpp 2.3.0-r3
C++ port of ZXing
https://github.com/zxing-cpp/zxing-cpp
sudo apk add zxing-cppzxing-cpp-dev 2.3.0-r3
C++ port of ZXing (development files)
https://github.com/zxing-cpp/zxing-cpp
sudo apk add zxing-cpp-devpython3-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-cppzxing-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-cppzxing-cpp-devel 2.2.1-7.fc45
Development files for zxing-cpp
https://github.com/zxing-cpp/zxing-cpp
sudo dnf install zxing-cpp-develsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.