How To Install libdmtx on AlmaLinux 8

In this tutorial we learn how to install libdmtx in AlmaLinux 8. libdmtx is Library for working with Data Matrix 2D bar-codes

Introduction

In this tutorial we learn how to install libdmtx on AlmaLinux 8.

What is libdmtx

libdmtx is open source software for reading and writing Data Matrix 2D bar-codes on Linux, Unix, OS X, Windows, and mobile devices. At its core libdmtx is a shared library, allowing C/C++ programs to use its capabilities without restrictions or overhead. The included utility programs, dmtxread and dmtxwrite, provide the official interface to libdmtx from the command line, and also serve as a good reference for programmers who wish to write their own programs that interact with libdmtx. All of the software in the libdmtx package is distributed under the LGPLv2 and can be used freely under these terms.

We can use yum or dnf to install libdmtx on AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libdmtx.

Install libdmtx on AlmaLinux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install libdmtx using dnf by running the following command:

sudo dnf -y install libdmtx

Install libdmtx on AlmaLinux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install libdmtx using yum by running the following command:

sudo yum -y install libdmtx

How To Uninstall libdmtx on AlmaLinux 8

To uninstall only the libdmtx package we can use the following command:

sudo dnf remove libdmtx

References

Summary

In this tutorial we learn how to install libdmtx on AlmaLinux 8 using yum and dnf.