How To Install libqrcodegen on Rocky Linux 8

In this tutorial we learn how to install libqrcodegen on Rocky Linux 8. libqrcodegen is High-quality QR Code generator library (plain C version)

Introduction

In this tutorial we learn how to install libqrcodegen on Rocky Linux 8.

What is libqrcodegen

This project aims to be the best, clearest QR Code generator library in multiple languages. The primary goals are flexible options and absolute correctness. Secondary goals are compact implementation size and good documentation comments.

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

Install libqrcodegen on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install libqrcodegen

Install libqrcodegen on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install libqrcodegen

How To Uninstall libqrcodegen on Rocky Linux 8

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

sudo dnf remove libqrcodegen

libqrcodegen Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/15
/usr/lib/.build-id/15/f62963d1ec1f2046b2bac25ebdda70b22d7472
/usr/lib64/libqrcodegen.so.1
/usr/lib64/libqrcodegen.so.1.6.0
/usr/share/licenses/libqrcodegen
/usr/share/licenses/libqrcodegen/Readme.markdown

References

Summary

In this tutorial we learn how to install libqrcodegen on Rocky Linux 8 using yum and dnf.