dmtxwrite command not found

In this troubleshooting guide we learn how to fix dmtxwrite command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

dmtxwrite: command not found

or when using sudo you get the following error message

sudo: dmtxwrite: command not found

Solutions to dmtxwrite: command not found

How To Fix dmtxwrite: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu dmtxwrite is provided by dmtx-utils package.

dmtx-utils is:

Command-line utilities for reading and writing Data Matrix 2D barcodes, two-dimensional symbols that hold a dense pattern of data with built-in error correction.

To fix this problem, we can install more using the command below.

sudo apt-get -y install dmtx-utils

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install dmtx-utils.

sudo apt -y install dmtx-utils

Or if you have aptitude installed you can use the following command.

sudo aptitude install dmtx-utils

Summary

In this tutorial we learn how to fix dmtxwrite command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.