# zxing-cpp を Homebrew, apk, dnf, Nix, pacman, apt, zypper でインストール

zxing-cpp のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:zxing-cpp
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install zxing-cpp
```

  証拠: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add zxing-cpp
```

  証拠: Alpine Linux edge package indexes: zxing-cpp from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- dnf (92%):

```sh
sudo dnf install zxing-cpp
```

  証拠: Fedora Rawhide package metadata: zxing-cpp 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#zxing-cpp
```

  証拠: nixpkgs package indexes: pkgs/by-name/zx/zxing-cpp/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S zxing-cpp
```

  証拠: Arch Linux sync databases: zxing-cpp from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- Debian apt (92%):

```sh
sudo apt install libzxing-dev
```

  証拠: Debian stable package indexes: libzxing-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- zypper (92%):

```sh
sudo zypper install libZXing3
```

  証拠: openSUSE Tumbleweed package metadata: libZXing3 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## パッケージ情報

- **パッケージキー:** brew:zxing-cpp
- **パッケージマネージャ:** Homebrew
- **バージョン:** 3.1.1
- **ソース概要:** Multi-format barcode image processing library written in C++
- **ホームページ:** <https://github.com/zxing-cpp/zxing-cpp>
- **リポジトリ:** <https://github.com/zxing-cpp/zxing-cpp>
- **最終更新:** 2026-07-29T10:17:22Z
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- ZXingReader (エイリアス)
- ZXingWriter (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

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

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.

### タイムライン

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

### ソース

- <https://github.com/Sec-ant/zxing-wasm>
- <https://github.com/zxing-cpp/zxing-cpp>
- <https://github.com/zxing-cpp/zxing-cpp/tree/master/wrappers/python>
- <https://github.com/zxing/zxing>
- <https://zxing-cpp.github.io/zxing-cpp/docs/latest>


## セキュリティノート

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

- **Geiger リスク:** blue / 中
- broad file, network, media, or database tool signal

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

- Debian apt - libzxing-dev - 2.3.0-4: normalized package name match | Debian stable package indexes: libzxing-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | C++ port of ZXing library (development files) | https://github.com/zxing-cpp/zxing-cpp
- Debian apt - libzxing3 - 2.3.0-4: normalized package name match | Debian stable package indexes: libzxing3 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | C++ port of ZXing library (library files) | https://github.com/zxing-cpp/zxing-cpp
- Debian apt - python3-zxing-cpp - 2.3.0-4: normalized package name match | Debian stable package indexes: python3-zxing-cpp from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | C++ port of ZXing library (python3 binding) | https://github.com/zxing-cpp/zxing-cpp
- Debian apt - zxing-cpp-tools - 2.3.0-4: normalized package name match | Debian stable package indexes: zxing-cpp-tools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Utilities provided by ZXing library | https://github.com/zxing-cpp/zxing-cpp
- Nix - zxing-cpp: normalized package name match | 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 apt - libzxing-dev - 2.2.1-3: normalized package name match | Ubuntu 24.04 LTS package indexes: libzxing-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | C++ port of ZXing library (development files) | https://github.com/zxing-cpp/zxing-cpp
- Ubuntu apt - libzxing3 - 2.2.1-3: normalized package name match | Ubuntu 24.04 LTS package indexes: libzxing3 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | C++ port of ZXing library (library files) | https://github.com/zxing-cpp/zxing-cpp
- Ubuntu apt - python3-zxing-cpp - 2.2.1-3: normalized package name match | Ubuntu 24.04 LTS package indexes: python3-zxing-cpp from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | C++ port of ZXing library (python3 binding) | https://github.com/zxing-cpp/zxing-cpp
- Ubuntu apt - zxing-cpp-tools - 2.2.1-3: normalized package name match | Ubuntu 24.04 LTS package indexes: zxing-cpp-tools from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Utilities provided by ZXing library | https://github.com/zxing-cpp/zxing-cpp
- apk - py3-zxing-cpp - 2.3.0-r3: normalized package name match | Alpine Linux edge package indexes: py3-zxing-cpp from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | C++ port of ZXing | https://github.com/zxing-cpp/zxing-cpp
- apk - zxing - 2.3.0-r3: normalized package name match | Alpine Linux edge package indexes: zxing from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | C++ port of ZXing | https://github.com/zxing-cpp/zxing-cpp
- apk - zxing-cpp - 2.3.0-r3: normalized package name match | Alpine Linux edge package indexes: zxing-cpp from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | C++ port of ZXing | https://github.com/zxing-cpp/zxing-cpp
- apk - zxing-cpp-dev - 2.3.0-r3: normalized package name match | Alpine Linux edge package indexes: zxing-cpp-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | C++ port of ZXing (development files) | https://github.com/zxing-cpp/zxing-cpp
- dnf - python3-zxing-cpp - 2.2.1-9.fc45: normalized package name match | Fedora Rawhide package metadata: python3-zxing-cpp from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Python bindings for the zxing-cpp barcode library | https://github.com/zxing-cpp/zxing-cpp
- dnf - zxing-cpp - 2.2.1-9.fc45: normalized package name match | Fedora Rawhide package metadata: zxing-cpp from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | C++ port of the ZXing ("Zebra Crossing") barcode scanning library | https://github.com/zxing-cpp/zxing-cpp
- dnf - zxing-cpp-devel - 2.2.1-9.fc45: normalized package name match | Fedora Rawhide package metadata: zxing-cpp-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Development files for zxing-cpp | https://github.com/zxing-cpp/zxing-cpp


## Combined YAML source

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