How To Install libqzxing-dev on Debian 12

Learn how to install libqzxing-dev on Debian 12 with this tutorial. libqzxing-dev is QZXing library (development headers)

Introduction

In this tutorial we learn how to install libqzxing-dev on Debian 12.

What is libqzxing-dev

libqzxing-dev is:

Qt wrapper for the ZXing 1D/2D barcode image decoder.

Supports barcode decoding for the following types:

UPC-A
UPC-E
EAN-8
EAN-13
ITF
Code 39
Code 93
Code 128 (GS1)
Codabar
QR Code
Data Matrix
Aztec (beta)
PDF 417

Supports barcode encoding for the following types:

QR Code

This package contains the development header files of the QZXing shared library.

There are three methods to install libqzxing-dev on Debian 12. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libqzxing-dev Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install libqzxing-dev using apt-get by running the following command:

sudo apt-get -y install libqzxing-dev

Install libqzxing-dev Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libqzxing-dev using apt by running the following command:

sudo apt -y install libqzxing-dev

Install libqzxing-dev Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install libqzxing-dev using aptitude by running the following command:

sudo aptitude -y install libqzxing-dev

How To Uninstall libqzxing-dev on Debian 12

To uninstall only the libqzxing-dev package we can use the following command:

sudo apt-get remove libqzxing-dev

Uninstall libqzxing-dev And Its Dependencies

To uninstall libqzxing-dev and its dependencies that are no longer needed by Debian 12, we can use the command below:

sudo apt-get -y autoremove libqzxing-dev

Remove libqzxing-dev Configurations and Data

To remove libqzxing-dev configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge libqzxing-dev

Remove libqzxing-dev configuration, data, and all of its dependencies

We can use the following command to remove libqzxing-dev configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libqzxing-dev

Dependencies

libqzxing-dev have the following dependencies:

References

Summary

In this tutorial we learn how to install libqzxing-dev package on Debian 12 using different package management tools: apt, apt-get and aptitude.