macOS
brew install zxing-cpplocal Homebrew formula metadata
安装
brew install zxing-cpplocal Homebrew formula metadata
sudo apk add py3-zxing-cppAlpine Linux edge package indexes · py3-zxing-cpp · 来源: dl-cdn.alpinelinux.org
sudo apt install libzxing-devDebian stable package indexes · libzxing-dev · 来源: deb.debian.org
sudo dnf install python3-zxing-cppFedora Rawhide package metadata · python3-zxing-cpp · 来源: dl.fedoraproject.org
nix profile install nixpkgs#zxing-cppnixpkgs package indexes · pkgs/by-name/zx/zxing-cpp/package.nix · 来源: api.github.com
sudo pacman -S zxing-cppArch Linux sync databases · zxing-cpp · 来源: geo.mirror.pkgbuild.com
sudo zypper install libZXing3openSUSE Tumbleweed package metadata · libZXing3 · 来源: download.opensuse.org
概览
Multi-format barcode image processing library written in C++
历史
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.
安全态势
broad file, network, media, or database tool signal.
blue 风险 · 中 置信度 · tool
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
ZXingReader | cli | 全局可执行文件 | |
ZXingWriter | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/zxing-cpp/zxing-cpp
安装元数据
| 软件包键 | brew:zxing-cpp |
|---|---|
| 版本 | 3.1.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/zxing-cpp |
| 主页 | https://github.com/zxing-cpp/zxing-cpp |
| 仓库 | https://github.com/zxing-cpp/zxing-cpp |
| 上游文档 | https://zxing-cpp.github.io/zxing-cpp/docs/latest |
| 许可证 | Apache-2.0 |
| 源码归档 | https://github.com/zxing-cpp/zxing-cpp/releases/download/v3.1.0/zxing-cpp-3.1.0.tar.gz |
| 最后更新 | 2026-07-07T20:35:59Z |
| Pulse | updated |
| 构建依赖 | cmake |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
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-devel来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.