How To Install qrencode-devel on Rocky Linux 8

In this tutorial we learn how to install qrencode-devel on Rocky Linux 8. qrencode-devel is QR Code encoding library - Development files

Introduction

In this tutorial we learn how to install qrencode-devel on Rocky Linux 8.

What is qrencode-devel

The qrencode-devel package contains libraries and header files for developing applications that use qrencode.

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

Install qrencode-devel 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 qrencode-devel using dnf by running the following command:

sudo dnf -y install qrencode-devel

Install qrencode-devel 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 qrencode-devel using yum by running the following command:

sudo yum -y install qrencode-devel

How To Uninstall qrencode-devel on Rocky Linux 8

To uninstall only the qrencode-devel package we can use the following command:

sudo dnf remove qrencode-devel

qrencode-devel Package Contents on Rocky Linux 8

/usr/include/qrencode.h
/usr/lib/libqrencode.so
/usr/lib/pkgconfig/libqrencode.pc
/usr/include/qrencode.h
/usr/lib64/libqrencode.so
/usr/lib64/pkgconfig/libqrencode.pc

References

Summary

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