How To Install php-bacon-qr-code2 on Fedora 36

In this tutorial we learn how to install php-bacon-qr-code2 in Fedora 36. php-bacon-qr-code2 is QR code generator for PHP

Introduction

In this tutorial we learn how to install php-bacon-qr-code2 on Fedora 36.

What is php-bacon-qr-code2

BaconQrCode is a port of QR code portion of the ZXing library. It currently only features the encoder part, but could later receive the decoder part as well. As the Reed Solomon codec implementation of the ZXing library performs quite slow in PHP, it was exchanged with the implementation by Phil Karn. Autoloader

We can use yum or dnf to install php-bacon-qr-code2 on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install php-bacon-qr-code2.

Install php-bacon-qr-code2 on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install php-bacon-qr-code2 using dnf by running the following command:

sudo dnf -y install php-bacon-qr-code2

Install php-bacon-qr-code2 on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install php-bacon-qr-code2 using yum by running the following command:

sudo yum -y install php-bacon-qr-code2

How To Uninstall php-bacon-qr-code2 on Fedora 36

To uninstall only the php-bacon-qr-code2 package we can use the following command:

sudo dnf remove php-bacon-qr-code2

php-bacon-qr-code2 Package Contents on Fedora 36

/usr/share/doc/php-bacon-qr-code2
/usr/share/doc/php-bacon-qr-code2/README.md
/usr/share/doc/php-bacon-qr-code2/composer.json
/usr/share/licenses/php-bacon-qr-code2
/usr/share/licenses/php-bacon-qr-code2/LICENSE
/usr/share/php/BaconQrCode2
/usr/share/php/BaconQrCode2/Common
/usr/share/php/BaconQrCode2/Common/BitArray.php
/usr/share/php/BaconQrCode2/Common/BitMatrix.php
/usr/share/php/BaconQrCode2/Common/BitUtils.php
/usr/share/php/BaconQrCode2/Common/CharacterSetEci.php
/usr/share/php/BaconQrCode2/Common/EcBlock.php
/usr/share/php/BaconQrCode2/Common/EcBlocks.php
/usr/share/php/BaconQrCode2/Common/ErrorCorrectionLevel.php
/usr/share/php/BaconQrCode2/Common/FormatInformation.php
/usr/share/php/BaconQrCode2/Common/Mode.php
/usr/share/php/BaconQrCode2/Common/ReedSolomonCodec.php
/usr/share/php/BaconQrCode2/Common/Version.php
/usr/share/php/BaconQrCode2/Encoder
/usr/share/php/BaconQrCode2/Encoder/BlockPair.php
/usr/share/php/BaconQrCode2/Encoder/ByteMatrix.php
/usr/share/php/BaconQrCode2/Encoder/Encoder.php
/usr/share/php/BaconQrCode2/Encoder/MaskUtil.php
/usr/share/php/BaconQrCode2/Encoder/MatrixUtil.php
/usr/share/php/BaconQrCode2/Encoder/QrCode.php
/usr/share/php/BaconQrCode2/Exception
/usr/share/php/BaconQrCode2/Exception/ExceptionInterface.php
/usr/share/php/BaconQrCode2/Exception/InvalidArgumentException.php
/usr/share/php/BaconQrCode2/Exception/OutOfBoundsException.php
/usr/share/php/BaconQrCode2/Exception/RuntimeException.php
/usr/share/php/BaconQrCode2/Exception/UnexpectedValueException.php
/usr/share/php/BaconQrCode2/Exception/WriterException.php
/usr/share/php/BaconQrCode2/Renderer
/usr/share/php/BaconQrCode2/Renderer/Color
/usr/share/php/BaconQrCode2/Renderer/Color/Alpha.php
/usr/share/php/BaconQrCode2/Renderer/Color/Cmyk.php
/usr/share/php/BaconQrCode2/Renderer/Color/ColorInterface.php
/usr/share/php/BaconQrCode2/Renderer/Color/Gray.php
/usr/share/php/BaconQrCode2/Renderer/Color/Rgb.php
/usr/share/php/BaconQrCode2/Renderer/Eye
/usr/share/php/BaconQrCode2/Renderer/Eye/CompositeEye.php
/usr/share/php/BaconQrCode2/Renderer/Eye/EyeInterface.php
/usr/share/php/BaconQrCode2/Renderer/Eye/ModuleEye.php
/usr/share/php/BaconQrCode2/Renderer/Eye/SimpleCircleEye.php
/usr/share/php/BaconQrCode2/Renderer/Eye/SquareEye.php
/usr/share/php/BaconQrCode2/Renderer/Image
/usr/share/php/BaconQrCode2/Renderer/Image/EpsImageBackEnd.php
/usr/share/php/BaconQrCode2/Renderer/Image/ImageBackEndInterface.php
/usr/share/php/BaconQrCode2/Renderer/Image/ImagickImageBackEnd.php
/usr/share/php/BaconQrCode2/Renderer/Image/SvgImageBackEnd.php
/usr/share/php/BaconQrCode2/Renderer/Image/TransformationMatrix.php
/usr/share/php/BaconQrCode2/Renderer/ImageRenderer.php
/usr/share/php/BaconQrCode2/Renderer/Module
/usr/share/php/BaconQrCode2/Renderer/Module/DotsModule.php
/usr/share/php/BaconQrCode2/Renderer/Module/EdgeIterator
/usr/share/php/BaconQrCode2/Renderer/Module/EdgeIterator/Edge.php
/usr/share/php/BaconQrCode2/Renderer/Module/EdgeIterator/EdgeIterator.php
/usr/share/php/BaconQrCode2/Renderer/Module/ModuleInterface.php
/usr/share/php/BaconQrCode2/Renderer/Module/RoundnessModule.php
/usr/share/php/BaconQrCode2/Renderer/Module/SquareModule.php
/usr/share/php/BaconQrCode2/Renderer/Path
/usr/share/php/BaconQrCode2/Renderer/Path/Close.php
/usr/share/php/BaconQrCode2/Renderer/Path/Curve.php
/usr/share/php/BaconQrCode2/Renderer/Path/EllipticArc.php
/usr/share/php/BaconQrCode2/Renderer/Path/Line.php
/usr/share/php/BaconQrCode2/Renderer/Path/Move.php
/usr/share/php/BaconQrCode2/Renderer/Path/OperationInterface.php
/usr/share/php/BaconQrCode2/Renderer/Path/Path.php
/usr/share/php/BaconQrCode2/Renderer/PlainTextRenderer.php
/usr/share/php/BaconQrCode2/Renderer/RendererInterface.php
/usr/share/php/BaconQrCode2/Renderer/RendererStyle
/usr/share/php/BaconQrCode2/Renderer/RendererStyle/EyeFill.php
/usr/share/php/BaconQrCode2/Renderer/RendererStyle/Fill.php
/usr/share/php/BaconQrCode2/Renderer/RendererStyle/Gradient.php
/usr/share/php/BaconQrCode2/Renderer/RendererStyle/GradientType.php
/usr/share/php/BaconQrCode2/Renderer/RendererStyle/RendererStyle.php
/usr/share/php/BaconQrCode2/Writer.php
/usr/share/php/BaconQrCode2/autoload.php

References

Summary

In this tutorial we learn how to install php-bacon-qr-code2 on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).