How To Install php-tecnickcom-tc-lib-barcode on CentOS 7

In this tutorial we learn how to install php-tecnickcom-tc-lib-barcode on CentOS 7. php-tecnickcom-tc-lib-barcode is PHP library to generate linear and bidimensional barcodes

Introduction

In this tutorial we learn how to install php-tecnickcom-tc-lib-barcode on CentOS 7.

What is php-tecnickcom-tc-lib-barcode

Provides tc-lib-barcode bidimensional barcodes CODE 93, USS-93, Standard 2 of 5, Interleaved 2 of 5, CODE 128 A/B/C, 2 and 5 Digits UPC-Based Extension, EAN 8, EAN 13, UPC-A, UPC-E, MSI, POSTNET, PLANET, RMS4CC (Royal Mail 4-state Customer Code), CBC (Customer Bar Code), KIX (Klant index - Customer index), Intelligent Mail Barcode, Onecode, USPS-B-3200, CODABAR, CODE 11, PHARMACODE, PHARMACODE TWO-TRACKS, Datamatrix ECC200, QR-Code, PDF417. Optional dependency

We can use yum or dnf to install php-tecnickcom-tc-lib-barcode on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install php-tecnickcom-tc-lib-barcode.

Install php-tecnickcom-tc-lib-barcode on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install php-tecnickcom-tc-lib-barcode using yum by running the following command:

sudo yum -y install php-tecnickcom-tc-lib-barcode

Install php-tecnickcom-tc-lib-barcode on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install php-tecnickcom-tc-lib-barcode using dnf by running the following command:

sudo dnf -y install php-tecnickcom-tc-lib-barcode

How To Uninstall php-tecnickcom-tc-lib-barcode on CentOS 7

To uninstall only the php-tecnickcom-tc-lib-barcode package we can use the following command:

sudo dnf remove php-tecnickcom-tc-lib-barcode

References

Summary

In this tutorial we learn how to install php-tecnickcom-tc-lib-barcode on CentOS 7 using yum and dnf.