# 使用 Homebrew, apt, dnf, MacPorts, Nix 安装 dmtx-utils

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

## 安装

```sh
sudo av install brew:dmtx-utils
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install dmtx-utils
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install dmtx-utils
```

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

### Linux

- Debian apt (92%):

```sh
sudo apt install dmtx-utils
```

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

- dnf (92%):

```sh
sudo dnf install dmtx-utils
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#dmtx-utils
```

  证据: nixpkgs package indexes: pkgs/by-name/dm/dmtx-utils/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:dmtx-utils
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/dmtx-utils>
- **版本:** 0.7.6
- **来源摘要:** Read and write data matrix barcodes
- **主页:** <https://github.com/dmtx/dmtx-utils>
- **仓库:** <https://github.com/dmtx/dmtx-utils>
- **上游文档:** <https://github.com/dmtx/dmtx-utils>
- **许可证:** GPL-2.0-or-later AND LGPL-2.1-or-later
- **源码归档:** <https://github.com/dmtx/dmtx-utils/archive/refs/tags/v0.7.6.tar.gz>
- **最后更新:** 2026-07-06T11:06:09Z
- **已生成:** 2026-07-08T07:18:31+00:00

## 可执行文件

- dmtxquery (cli)
- dmtxread (cli)
- dmtxwrite (cli)
- dmtxquery (别名)
- dmtxread (别名)
- dmtxwrite (别名)

## 依赖

- fontconfig
- freetype
- gettext
- glib
- imagemagick
- libdmtx
- liblqr
- libomp
- libtool
- little-cms2

## 构建依赖

- autoconf
- automake
- pkgconf

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 0.7.6
- 管理器更新时间: 2026-07-06
- 本地数据: OK
- 上游仓库: https://github.com/dmtx/dmtx-utils
- 检测到的最新版本: v0.7.6 (当前)
## 项目历史与用法

dmtx-utils is the command-line companion package for libdmtx, the open-source Data Matrix barcode library. It gives shell scripts and terminal users direct access to libdmtx encoding, decoding, and query behavior through tools such as dmtxread and dmtxwrite.

### 项目历史

The project split the utility programs from the core libdmtx library while keeping the same ecosystem: libdmtx provides the native library, and dmtx-utils provides command-line programs for the modern ECC200 Data Matrix barcode format. The libdmtx site now points maintainers and users to the dmtx GitHub organization.

### 采用历史

The utilities have stayed attractive to Unix package managers because they turn barcode read/write functionality into normal pipeline components. That makes Data Matrix generation and scanning available to packaging scripts, QA jobs, labels, and batch image workflows without writing against the C API.

### 使用方式

The README shows dmtxwrite taking messages from standard input or files and producing barcode images, while dmtxread reverses images back into messages. It also demonstrates chaining the two tools in a pipeline, which is exactly the kind of shell-native workflow package maintainers like.

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

dmtx-utils is notable because it packages a graphics/barcode library as small composable CLI tools. For distro maintainers, it is a tidy example of a library-plus-utils split where the tools are both useful to users and a reference for library behavior.

### 时间线

- 0.7.x: dmtx-utils is maintained as the utility package for the libdmtx ecosystem.
- 2019: The libdmtx site notes maintenance by the dmtx GitHub team.

### Related projects

- libdmtx is the underlying Data Matrix library.
- dmtx-wrappers provides language bindings around the same library family.

### 来源

- <https://github.com/dmtx/dmtx-utils>
- <https://libdmtx.org/>
- <https://github.com/dmtx/libdmtx>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** dmtx-utils
- **Version Scheme:** 0
- **Revision:** 10
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

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

- Debian apt - dmtx-utils - 0.7.6-1.1+b4: normalized package name match | Debian stable package indexes: dmtx-utils from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Utilities for reading and writing Data Matrix 2D barcodes | http://libdmtx.sourceforge.net
- Nix - dmtx-utils: normalized package name match | nixpkgs package indexes: pkgs/by-name/dm/dmtx-utils/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - dmtx-utils - 0.7.6-1.1build4: normalized package name match | Ubuntu 24.04 LTS package indexes: dmtx-utils from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Utilities for reading and writing Data Matrix 2D barcodes | http://libdmtx.sourceforge.net
- dnf - dmtx-utils - 0.7.6-24.fc44: normalized package name match | Fedora Rawhide package metadata: dmtx-utils from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Tools for working with Data Matrix 2D bar-codes | https://github.com/dmtx
- MacPorts - dmtx-utils: normalized package name match | MacPorts ports tree: graphics/dmtx-utils/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [Source-control packages](https://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/zh-hans/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/zh-hans/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [fontconfig](https://www.automicvault.com/zh-hans/pkg/brew/fontconfig/) - Runtime dependency declared by Homebrew.
- [freetype](https://www.automicvault.com/zh-hans/pkg/brew/freetype/) - Runtime dependency declared by Homebrew.
- [gettext](https://www.automicvault.com/zh-hans/pkg/brew/gettext/) - Runtime dependency declared by Homebrew.
- [glib](https://www.automicvault.com/zh-hans/pkg/brew/glib/) - Runtime dependency declared by Homebrew.
- [imagemagick](https://www.automicvault.com/zh-hans/pkg/brew/imagemagick/) - Runtime dependency declared by Homebrew.
- [autoconf](https://www.automicvault.com/zh-hans/pkg/brew/autoconf/) - Build dependency declared by Homebrew.
- [automake](https://www.automicvault.com/zh-hans/pkg/brew/automake/) - Build dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/zh-hans/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [gnu-barcode](https://www.automicvault.com/zh-hans/pkg/brew/gnu-barcode/) - Shares av.db curated category or tags: barcode, cli, developer-tools.
- [iccdev](https://www.automicvault.com/zh-hans/pkg/brew/iccdev/) - Shares av.db curated category or tags: cli, developer-tools, image-processing.
- [zxing-cpp](https://www.automicvault.com/zh-hans/pkg/brew/zxing-cpp/) - Shares av.db curated category or tags: barcode, barcodes, cli, image-processing.
- [gptline](https://www.automicvault.com/zh-hans/pkg/brew/gptline/) - Local package facts share a topical domain. Shared terms: cli, cms2, developer, developer-tools, freetype.
- [sarif-tools](https://www.automicvault.com/zh-hans/pkg/brew/sarif-tools/) - Local package facts share a topical domain. Shared terms: cli, cms2, developer, developer-tools, freetype.
- [zbar](https://www.automicvault.com/zh-hans/pkg/brew/zbar/) - Both packages work with overlapping file formats or content types. Shared terms: barcode, barcodes, cli, cms2, fontconfig.

## Combined YAML source

View the package source record on GitHub. [combined/dmtx-utils.yml](https://github.com/automic-vault/db/blob/main/combined/dmtx-utils.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
