How To Install qrencode-devel.x86_64 on Amazon Linux 2

In this tutorial we learn how to install qrencode-devel.x86_64 in Amazon Linux 2. qrencode-devel.x86_64 is QR Code encoding library - Development files

Introduction

In this tutorial we learn how to install qrencode-devel.x86_64 on Amazon Linux 2.

What is qrencode-devel.x86_64

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

We can use yum to install qrencode-devel.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install qrencode-devel.x86_64.

Install qrencode-devel.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install qrencode-devel.x86_64 using yum by running the following command:

sudo yum -y install qrencode-devel.x86_64

How To Uninstall qrencode-devel.x86_64 on Amazon Linux 2

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

sudo yum remove qrencode-devel.x86_64

qrencode-devel.x86_64 Package Contents on Amazon Linux 2

/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.x86_64 on Amazon Linux 2 using yum.