How To Install python-qrcode-core.noarch on Amazon Linux 2

In this tutorial we learn how to install python-qrcode-core.noarch in Amazon Linux 2. python-qrcode-core.noarch is Python QR Code image generator (core library)

Introduction

In this tutorial we learn how to install python-qrcode-core.noarch on Amazon Linux 2.

What is python-qrcode-core.noarch

Core Python module for QR code generation. Does not contain image rendering.

We can use yum to install python-qrcode-core.noarch on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install python-qrcode-core.noarch.

Install python-qrcode-core.noarch 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 python-qrcode-core.noarch using yum by running the following command:

sudo yum -y install python-qrcode-core.noarch

How To Uninstall python-qrcode-core.noarch on Amazon Linux 2

To uninstall only the python-qrcode-core.noarch package we can use the following command:

sudo yum remove python-qrcode-core.noarch

python-qrcode-core.noarch Package Contents on Amazon Linux 2

/usr/lib/python2.7/site-packages/qrcode
/usr/lib/python2.7/site-packages/qrcode-5.0.1-py2.7.egg-info
/usr/lib/python2.7/site-packages/qrcode-5.0.1-py2.7.egg-info/PKG-INFO
/usr/lib/python2.7/site-packages/qrcode-5.0.1-py2.7.egg-info/SOURCES.txt
/usr/lib/python2.7/site-packages/qrcode-5.0.1-py2.7.egg-info/dependency_links.txt
/usr/lib/python2.7/site-packages/qrcode-5.0.1-py2.7.egg-info/requires.txt
/usr/lib/python2.7/site-packages/qrcode-5.0.1-py2.7.egg-info/top_level.txt
/usr/lib/python2.7/site-packages/qrcode/__init__.py
/usr/lib/python2.7/site-packages/qrcode/__init__.pyc
/usr/lib/python2.7/site-packages/qrcode/__init__.pyo
/usr/lib/python2.7/site-packages/qrcode/base.py
/usr/lib/python2.7/site-packages/qrcode/base.pyc
/usr/lib/python2.7/site-packages/qrcode/base.pyo
/usr/lib/python2.7/site-packages/qrcode/constants.py
/usr/lib/python2.7/site-packages/qrcode/constants.pyc
/usr/lib/python2.7/site-packages/qrcode/constants.pyo
/usr/lib/python2.7/site-packages/qrcode/exceptions.py
/usr/lib/python2.7/site-packages/qrcode/exceptions.pyc
/usr/lib/python2.7/site-packages/qrcode/exceptions.pyo
/usr/lib/python2.7/site-packages/qrcode/image
/usr/lib/python2.7/site-packages/qrcode/image/__init__.py
/usr/lib/python2.7/site-packages/qrcode/image/__init__.pyc
/usr/lib/python2.7/site-packages/qrcode/image/__init__.pyo
/usr/lib/python2.7/site-packages/qrcode/image/base.py
/usr/lib/python2.7/site-packages/qrcode/image/base.pyc
/usr/lib/python2.7/site-packages/qrcode/image/base.pyo
/usr/lib/python2.7/site-packages/qrcode/main.py
/usr/lib/python2.7/site-packages/qrcode/main.pyc
/usr/lib/python2.7/site-packages/qrcode/main.pyo
/usr/lib/python2.7/site-packages/qrcode/mecard.py
/usr/lib/python2.7/site-packages/qrcode/mecard.pyc
/usr/lib/python2.7/site-packages/qrcode/mecard.pyo
/usr/lib/python2.7/site-packages/qrcode/speedy.py
/usr/lib/python2.7/site-packages/qrcode/speedy.pyc
/usr/lib/python2.7/site-packages/qrcode/speedy.pyo
/usr/lib/python2.7/site-packages/qrcode/tests.py
/usr/lib/python2.7/site-packages/qrcode/tests.pyc
/usr/lib/python2.7/site-packages/qrcode/tests.pyo
/usr/lib/python2.7/site-packages/qrcode/util.py
/usr/lib/python2.7/site-packages/qrcode/util.pyc
/usr/lib/python2.7/site-packages/qrcode/util.pyo
/usr/share/doc/python-qrcode-core-5.0.1
/usr/share/doc/python-qrcode-core-5.0.1/CHANGES.rst
/usr/share/doc/python-qrcode-core-5.0.1/LICENSE
/usr/share/doc/python-qrcode-core-5.0.1/README.rst

References

Summary

In this tutorial we learn how to install python-qrcode-core.noarch on Amazon Linux 2 using yum.