pkg.soopen package index

brew / 排名 1090

使用 Homebrew, apk, dnf, MacPorts, Nix, pacman, zypper, apt 安装 zbar

查看 zbar 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install zbar

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install zbar

MacPorts ports tree · graphics/zbar/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add zbar

Alpine Linux edge package indexes · zbar · 来源: dl-cdn.alpinelinux.org

Fedora dnf已验证 · 92%
sudo dnf install zbar

Fedora Rawhide package metadata · zbar · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#zbar

nixpkgs package indexes · pkgs/by-name/zb/zbar/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S zbar

Arch Linux sync databases · zbar · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install zbar

openSUSE Tumbleweed package metadata · zbar · 来源: download.opensuse.org

Debian apt已验证 · 92%
sudo apt install gir1.2-zbar-1.0

Debian stable package indexes · gir1.2-zbar-1.0 · 来源: deb.debian.org

概览

软件包摘要

Suite of barcodes-reading tools

命令和别名

  • zbarimg

历史

项目历史与用法

ZBar is an open-source C barcode and QR-code reader suite with command-line tools, camera and image scanners, GUI bindings, and language bindings used by desktop applications, scripts, and packaging ecosystems.

项目历史

The project began as Zebra, with version 0.1 in 2007 supporting basic EAN-13 and UPC-A scanning from a webcam or stored image files through `zebracam` and `zebraimg`. The 0.7 release in 2009 finalized the name change to ZBar and added Python bindings.

ZBar expanded quickly in 2008-2009: releases added Code 128, Video4Linux2 support, more image formats, GTK/PyGTK/Qt widgets, EAN-8, Code 39, Interleaved 2 of 5, Windows command-line ports, and QR Code support in 0.10. The SourceForge site presented it as a suite for reading bar codes from video streams, image files, and raw intensity sensors.

After the old upstream line stalled, Mauro Carvalho Chehab created a LinuxTV-hosted fork. NEWS.md says 0.20 in 2017 was created because upstream had no version since 2009, and focused on modern Video4Linux2 support via libv4l2, Qt5 compatibility, and new zbarcam GUI applications.

The maintained 0.23 line modernized ZBar for newer libraries: Gtk2 or Gtk3, Python2 or Python3, GObject Introspection bindings, Windows DirectShow support, and continued command-line/library use.

采用历史

ZBar became a common Unix packaging dependency because it is both a library and a tool suite. Distributions can ship `zbarimg` for scanning image files, `zbarcam` for webcams, development headers, and bindings used by Python, Perl, Ruby, Qt, GTK, and GObject-based applications.

Its adoption is especially visible in wrappers such as pyzbar and in distro packages that expose ZBar through GIR, Python, Qt, GTK, and CLI subpackages. That breadth kept the project relevant even when the original SourceForge release line slowed down.

The LinuxTV fork is an adoption story in itself: webcam APIs and GUI stacks changed under ZBar, so package maintainers needed a maintained upstream that could keep barcode scanning working on current kernels, desktops, Python versions, and Windows capture APIs.

使用方式

Users run `zbarimg` against screenshots, photos, PDFs, or generated image files, or use `zbarcam` to scan a Video4Linux camera stream and print decoded symbols to standard output. Application developers link libzbar or use bindings when barcode recognition needs to be embedded in another program.

Supported symbologies across the project history include EAN/UPC variants, Code 128, Code 93, Code 39, Codabar, Interleaved 2 of 5, QR Code, and later SQ Code. The common packaging value is that a script or app can delegate messy image/camera barcode decoding to a small native library.

为什么软件包爱好者会关心

ZBar is package-nerd significant because it is a textbook survivor package: a small C library plus CLI tools, bindings across languages, GUI integrations, and a fork that exists largely to keep old useful functionality compiling and working on modern systems.

It also shows why package metadata can hide real complexity. A formula called `zbar` may look like a simple barcode tool, but downstreams care about webcam backends, image libraries, Python and GIR bindings, Qt/GTK optionality, Windows capture support, and security fixes for untrusted QR/image parsing.

时间线

  • 2007-03-24: First official Zebra 0.1 release, with basic webcam and image-file scanning.
  • 2009-04-21: Version 0.7 finalized the project name change to ZBar and added Python bindings.
  • 2009-08-31: Version 0.9 introduced Windows command-line application ports.
  • 2009-10-23: Version 0.10 added QR Code support.
  • 2017-04-11: Version 0.20 launched the LinuxTV fork after the old upstream line had no version since 2009.
  • 2019: Versions 0.21 through 0.23 modernized compiler, Windows, Java, Gtk, Python, GIR, and DirectShow support.

Related projects

  • Related projects include pyzbar, Barcode::ZBar, zbarlight, ZXing, QR/barcode scanner applications, Video4Linux, libv4l2, GTK, Qt, GObject Introspection, and distro packages that split ZBar into CLI, library, and binding components.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
zbarimg可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-03
管理器版本0.23.93
管理器更新时间2026-07-13
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:zbar
版本0.23.93
软件包管理器Homebrew
主页https://linuxtv.org/downloads/zbar/
仓库https://github.com/mchehab/zbar
最后更新2026-07-13T10:42:34Z
Pulseupdated
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

gir1.2-zbar-1.0 0.23.93-8

QR code / bar code scanner and decoder (introspection data)

https://github.com/mchehab/zbar

sudo apt install gir1.2-zbar-1.0
  • Section: introspection
  • Architecture: amd64
  • Source Package: zbar
  • 3 依赖
  • normalized package name match
  • 匹配方式:Zbar
Debian stable package indexes · deb.debian.org · Debian stable package indexes: gir1.2-zbar-1.0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libbarcode-zbar-perl 0.23.93-8

QR code / bar code scanner and decoder (Perl bindings)

https://github.com/mchehab/zbar

sudo apt install libbarcode-zbar-perl
  • Section: perl
  • Architecture: amd64
  • Source Package: zbar
  • 4 依赖
  • normalized package name match
  • 匹配方式:Zbar
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libbarcode-zbar-perl from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libzbar-dev 0.23.93-8

QR code / bar code scanner and decoder (development)

https://github.com/mchehab/zbar

sudo apt install libzbar-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: zbar
  • 4 依赖
  • normalized package name match
  • 匹配方式:Zbar
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libzbar-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libzbar0t64 0.23.93-8

QR code / bar code scanner and decoder (library)

https://github.com/mchehab/zbar

sudo apt install libzbar0t64
  • Section: libs
  • Architecture: amd64
  • Source Package: zbar
  • 5 依赖
  • 1 提供
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Zbar
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libzbar0t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libzbargtk-dev 0.23.93-8

QR code / bar code scanner and decoder (GTK+ bindings development)

https://github.com/mchehab/zbar

sudo apt install libzbargtk-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: zbar
  • 3 依赖
  • normalized package name match
  • 匹配方式:Zbar
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libzbargtk-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libzbargtk0t64 0.23.93-8

QR code / bar code scanner and decoder (GTK+ bindings)

https://github.com/mchehab/zbar

sudo apt install libzbargtk0t64
  • Section: libs
  • Architecture: amd64
  • Source Package: zbar
  • 5 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Zbar
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libzbargtk0t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libzbarqt-dev 0.23.93-8

QR code / bar code scanner and decoder (Qt binding development)

https://github.com/mchehab/zbar

sudo apt install libzbarqt-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: zbar
  • 4 依赖
  • normalized package name match
  • 匹配方式:Zbar
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libzbarqt-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libzbarqt0t64 0.23.93-8

QR code / bar code scanner and decoder (Qt binding)

https://github.com/mchehab/zbar

sudo apt install libzbarqt0t64
  • Section: libs
  • Architecture: amd64
  • Source Package: zbar
  • 9 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Zbar
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libzbarqt0t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

python3-zbar 0.23.93-8

QR code / bar code scanner and decoder (Python bindings)

https://github.com/mchehab/zbar

sudo apt install python3-zbar
  • Section: python
  • Architecture: amd64
  • Source Package: zbar
  • 3 依赖
  • normalized package name match
  • 匹配方式:Zbar
Debian stable package indexes · deb.debian.org · Debian stable package indexes: python3-zbar from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

zbar-tools 0.23.93-8

QR code / bar code scanner and decoder (utilities)

https://github.com/mchehab/zbar

sudo apt install zbar-tools
  • Section: graphics
  • Architecture: amd64
  • Source Package: zbar
  • 3 依赖
  • 2 可选依赖
  • normalized package name match
  • 匹配方式:Zbar
Debian stable package indexes · deb.debian.org · Debian stable package indexes: zbar-tools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

zbarcam-gtk 0.23.93-8

QR code / bar code scanner and decoder (Gtk camera tool)

https://github.com/mchehab/zbar

sudo apt install zbarcam-gtk
  • Section: libs
  • Architecture: amd64
  • Source Package: zbar
  • 6 依赖
  • normalized package name match
  • 匹配方式:Zbar
Debian stable package indexes · deb.debian.org · Debian stable package indexes: zbarcam-gtk from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

zbarcam-qt 0.23.93-8

QR code / bar code scanner and decoder (Qt camera tool)

https://github.com/mchehab/zbar

sudo apt install zbarcam-qt
  • Section: libs
  • Architecture: amd64
  • Source Package: zbar
  • 8 依赖
  • normalized package name match
  • 匹配方式:Zbar
Debian stable package indexes · deb.debian.org · Debian stable package indexes: zbarcam-qt from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

zbar

nix profile install nixpkgs#zbar
  • normalized package name match
  • 匹配方式:Zbar
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/zb/zbar/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

gir1.2-zbar-1.0 0.23.93-4build3

QR code / bar code scanner and decoder (introspection data)

https://github.com/mchehab/zbar

sudo apt install gir1.2-zbar-1.0
  • Section: universe/introspection
  • Architecture: amd64
  • Source Package: zbar
  • 3 依赖
  • normalized package name match
  • 匹配方式:Zbar
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gir1.2-zbar-1.0 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libbarcode-zbar-perl 0.23.93-4build3

QR code / bar code scanner and decoder (Perl bindings)

https://github.com/mchehab/zbar

sudo apt install libbarcode-zbar-perl
  • Section: universe/perl
  • Architecture: amd64
  • Source Package: zbar
  • 4 依赖
  • normalized package name match
  • 匹配方式:Zbar
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libbarcode-zbar-perl from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libzbar-dev 0.23.93-4build3

QR code / bar code scanner and decoder (development)

https://github.com/mchehab/zbar

sudo apt install libzbar-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: zbar
  • 4 依赖
  • normalized package name match
  • 匹配方式:Zbar
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libzbar-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation