# Install dmtx-utils with Homebrew, apt, dnf, MacPorts, Nix

Read and write data matrix barcodes. Version 0.7.6 via Homebrew; verified 2026-07-06.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

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

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

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

  Evidence: 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
```

  Evidence: 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
```

  Evidence: 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
```

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

## Package facts

- **Package key:** brew:dmtx-utils
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/dmtx-utils>
- **Version:** 0.7.6
- **Source summary:** Read and write data matrix barcodes
- **Homepage:** <https://github.com/dmtx/dmtx-utils>
- **Repository:** <https://github.com/dmtx/dmtx-utils>
- **Upstream docs:** <https://github.com/dmtx/dmtx-utils>
- **License:** GPL-2.0-or-later AND LGPL-2.1-or-later
- **Source archive:** <https://github.com/dmtx/dmtx-utils/archive/refs/tags/v0.7.6.tar.gz>
- **Last updated:** 2026-07-06T11:06:09Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- dmtxquery (cli)
- dmtxread (cli)
- dmtxwrite (cli)
- dmtxquery (alias)
- dmtxread (alias)
- dmtxwrite (alias)

## Dependencies

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

## Build dependencies

- autoconf
- automake
- pkgconf

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.7.6
- Package-manager updated: 2026-07-06
- Local data: ok
- Upstream repository: https://github.com/dmtx/dmtx-utils
- Upstream latest detected: v0.7.6 (current)
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

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

### Sources

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


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

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

## Other Package-Manager Records

- 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


## Related links

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


## Sources

- 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
