How To Install libimager-qrcode-perl on Debian 9

In this tutorial we learn how to install libimager-qrcode-perl on Debian 9. libimager-qrcode-perl is Generate QR code with Imager using libqrencode

Introduction

In this tutorial we learn how to install libimager-qrcode-perl on Debian 9.

What is libimager-qrcode-perl

libimager-qrcode-perl is:

This is the CPAN Perl module Imager::QRCode.

The module adds an easy-to-use interface to Imager for QR code generation. The actual code generation is done by the system library libqrencode.

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

Install libimager-qrcode-perl Using apt-get

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

sudo apt-get update

After updating apt database, We can install libimager-qrcode-perl using apt-get by running the following command:

sudo apt-get -y install libimager-qrcode-perl

Install libimager-qrcode-perl Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libimager-qrcode-perl using apt by running the following command:

sudo apt -y install libimager-qrcode-perl

Install libimager-qrcode-perl 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 libimager-qrcode-perl using aptitude by running the following command:

sudo aptitude -y install libimager-qrcode-perl

How To Uninstall libimager-qrcode-perl on Debian 9

To uninstall only the libimager-qrcode-perl package we can use the following command:

sudo apt-get remove libimager-qrcode-perl

Uninstall libimager-qrcode-perl And Its Dependencies

To uninstall libimager-qrcode-perl and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove libimager-qrcode-perl

Remove libimager-qrcode-perl Configurations and Data

To remove libimager-qrcode-perl configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge libimager-qrcode-perl

Remove libimager-qrcode-perl configuration, data, and all of its dependencies

We can use the following command to remove libimager-qrcode-perl configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libimager-qrcode-perl

Dependencies

libimager-qrcode-perl have the following dependencies:

References

Summary

In this tutorial we learn how to install libimager-qrcode-perl package on Debian 9 using different package management tools: apt, apt-get and aptitude.