# 使用 Homebrew, apk, apt, dnf, MacPorts, pacman, winget, zypper 安装 zint

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

## 安装

```sh
sudo av install brew:zint
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install zint
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install zint
```

  证据: MacPorts ports tree: textproc/zint/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add zint
```

  证据: Alpine Linux edge package indexes: zint from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install libzint-dev
```

  证据: Debian stable package indexes: libzint-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install zint
```

  证据: Fedora Rawhide package metadata: zint from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- pacman (92%):

```sh
sudo pacman -S zint
```

  证据: Arch Linux sync databases: zint from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install libQZint-devel
```

  证据: openSUSE Tumbleweed package metadata: libQZint-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

### Windows

- winget (92%):

```sh
winget install --id Zint.Zint -e
```

  证据: Windows Package Manager source index: Zint.Zint from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:zint
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/zint>
- **版本:** 2.16.0
- **来源摘要:** Barcode encoding library supporting over 50 symbologies
- **主页:** <https://www.zint.org.uk/>
- **仓库:** <https://github.com/zint/zint>
- **上游文档:** <https://zint.org.uk/manual>
- **许可证:** GPL-3.0-or-later
- **源码归档:** <https://downloads.sourceforge.net/project/zint/zint/2.16.0/zint-2.16.0-src.tar.gz>
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- zint (cli)
- zint (别名)

## 依赖

- libpng

## 构建依赖

- cmake

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 2.16.0
- 本地数据: OK
- 上游仓库: https://www.zint.org.uk/
- 信息: No package-manager update timestamp was available.
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

Zint is an open-source barcode-generation suite that spans three audiences at once: desktop users, command-line automation, and application developers embedding a barcode library. That combination makes it more than a toy barcode renderer; it is a packageable barcode backend with GUI and scripting surfaces.

### 项目历史

The official manual describes Zint as a cross-platform open-source barcode generating solution made up of a Qt GUI, a command-line executable, and a library API. Its own site frames the project around desktop, CLI, and developer use rather than a single application mode.

The project maintains public source, releases, documentation, and community channels through SourceForge and GitHub. Its source tree shows a C-centered implementation with backend, Qt, Tcl, frontend, and platform-specific documentation areas, reflecting a project that has grown around both embeddable barcode logic and user-facing tools.

### 采用历史

Zint has been adopted most visibly as a practical utility and library for people who need standards-heavy barcodes without buying a proprietary generator. The project site identifies developers, businesses, technical users, and people generating QR Code, Code 128, EAN, UPC, Data Matrix, and related output as target users.

Its continued SourceForge download activity and GitHub repository presence show ongoing use in a specialized niche: label generation, document production, application barcode output, and scripted creation of raster or vector barcode assets.

### 使用方式

The command-line tool encodes data with options such as `--data`, `--input`, `--output`, and `--barcode`; by default, a simple invocation can create a Code 128 image from text. The manual documents raster and vector outputs including PNG, GIF, EPS, SVG, BMP, EMF, PCX, and TIF.

Developers use libzint when barcode generation belongs inside another program, while desktop users can use Zint Barcode Studio for visual generation and preview. The same package therefore covers batch scripts, GUI workflows, and embedded barcode rendering.

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

Zint is valuable in package catalogs because it collapses a standards-heavy domain into one installable toolchain: executable, GUI, and library. For maintainers and users, that means barcode generation can be automated in builds, labels, and documents without each project carrying its own encoder.

Its broad symbology list is the package-nerd hook. A small command can generate formats from everyday QR and EAN codes to postal, GS1, Data Matrix, PDF417, Aztec, Han Xin, and industrial codes, making it a useful leaf dependency in otherwise unrelated workflows.

### 时间线

- 2008: The Zint site copyright range begins, indicating the project was public by this period.
- 2017: Source tree metadata shows project configuration such as `.editorconfig` already present in the public repository history.
- 2020s: Development continues across backend, Qt frontend, platform documentation, and barcode-standard support.
- 2026: The project site reports ongoing SourceForge download activity and public GitHub/SourceForge project resources.

### Related projects

- OkapiBarcode, identified by the Zint site as a Java port and related barcode tooling.
- ZintNet, a C# port based on the Zint project.
- gLabels, a desktop label design tool with Zint support.
- Online barcode-generator services powered by Zint.

### 来源

- <https://github.com/zint/zint>
- <https://sourceforge.net/p/zint/code/ci/master/tree/>
- <https://zint.org.uk/>
- <https://zint.org.uk/about/>
- <https://zint.org.uk/extras/>
- <https://zint.org.uk/manual/chapter/1/>
- <https://zint.org.uk/manual/chapter/4/>


## 安全说明

library-like package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- library-like package without higher-risk signals

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** zint
- **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:** head, stable

## 其他软件包管理器记录

- Debian apt - libzint-dev - 2.15.0-1+b1: normalized package name match | Debian stable package indexes: libzint-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Zint development files | https://zint.org.uk/
- Debian apt - libzint2.15 - 2.15.0-1+b1: normalized package name match | Debian stable package indexes: libzint2.15 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | library for encoding data in barcode symbols | https://zint.org.uk/
- Debian apt - zint - 2.15.0-1+b1: normalized package name match | Debian stable package indexes: zint from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | command line utility to encode data in barcode symbols | https://zint.org.uk/
- Debian apt - zint-qt - 2.15.0-1+b1: normalized package name match | Debian stable package indexes: zint-qt from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Zint Barcode Studio, a QT frontend to zint | https://zint.org.uk/
- Ubuntu apt - libzint-dev - 2.13.0-1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: libzint-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Zint development files | https://zint.org.uk/
- Ubuntu apt - libzint2.13 - 2.13.0-1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: libzint2.13 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | library for encoding data in barcode symbols | https://zint.org.uk/
- Ubuntu apt - zint - 2.13.0-1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: zint from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | command line utility to encode data in barcode symbols | https://zint.org.uk/
- Ubuntu apt - zint-qt - 2.13.0-1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: zint-qt from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Zint Barcode Studio, a QT frontend to zint | https://zint.org.uk/
- apk - zint - 2.16.0-r0: normalized package name match | Alpine Linux edge package indexes: zint from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Barcode encoding library supporting over 50 symbologies | https://zint.org.uk/
- apk - zint-dev - 2.16.0-r0: normalized package name match | Alpine Linux edge package indexes: zint-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Barcode encoding library supporting over 50 symbologies (development files) | https://zint.org.uk/
- apk - zint-doc - 2.16.0-r0: normalized package name match | Alpine Linux edge package indexes: zint-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Barcode encoding library supporting over 50 symbologies (documentation) | https://zint.org.uk/
- apk - zint-qt - 2.16.0-r0: normalized package name match | Alpine Linux edge package indexes: zint-qt from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Zint Barcode Studio GUI | https://zint.org.uk/
- dnf - zint - 2.15.0-3.fc44: normalized package name match | Fedora Rawhide package metadata: zint from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Barcode generator library | http://www.zint.org.uk
- dnf - zint-devel - 2.15.0-3.fc44: normalized package name match | Fedora Rawhide package metadata: zint-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Library and header files for zint | http://www.zint.org.uk
- dnf - zint-qt - 2.15.0-3.fc44: normalized package name match | Fedora Rawhide package metadata: zint-qt from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Zint Barcode Studio | http://www.zint.org.uk
- dnf - zint-qt-devel - 2.15.0-3.fc44: normalized package name match | Fedora Rawhide package metadata: zint-qt-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Library and header files for zint-qt | http://www.zint.org.uk


## 相关链接

- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Developer build packages](https://www.automicvault.com/zh-hans/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Media and graphics packages](https://www.automicvault.com/zh-hans/pkg/media-graphics-tools/) - Matched media, image, audio, video, or graphics metadata.
- [libpng](https://www.automicvault.com/zh-hans/pkg/brew/libpng/) - Runtime dependency declared by Homebrew.
- [cmake](https://www.automicvault.com/zh-hans/pkg/brew/cmake/) - Build dependency declared by Homebrew.
- [zbar](https://www.automicvault.com/zh-hans/pkg/brew/zbar/) - Shares av.db curated category or tags: barcode, cli, library, media.
- [fdk-aac](https://www.automicvault.com/zh-hans/pkg/brew/fdk-aac/) - Shares av.db curated category or tags: c, cli, library, media.
- [freealut](https://www.automicvault.com/zh-hans/pkg/brew/freealut/) - Shares av.db curated category or tags: c, cli, library, media.
- [gd](https://www.automicvault.com/zh-hans/pkg/brew/gd/) - Shares av.db curated category or tags: c, cli, library, media.
- [id3lib](https://www.automicvault.com/zh-hans/pkg/brew/id3lib/) - Shares av.db curated category or tags: c, cli, library, media.
- [jasper](https://www.automicvault.com/zh-hans/pkg/brew/jasper/) - Shares av.db curated category or tags: c, cli, library, media.
- [libart](https://www.automicvault.com/zh-hans/pkg/brew/libart/) - Shares av.db curated category or tags: c, cli, library, media.
- [libdca](https://www.automicvault.com/zh-hans/pkg/brew/libdca/) - Shares av.db curated category or tags: c, cli, library, media.
- [dspdfviewer](https://www.automicvault.com/zh-hans/pkg/brew/dspdfviewer/) - Local package facts share a topical domain. Shared terms: cli, libpng, media, qt.

## Combined YAML source

View the package source record on GitHub. [combined/zint.yml](https://github.com/automic-vault/db/blob/main/combined/zint.yml)


## 来源

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
