How To Install python3-pyscard on Fedora 36

In this tutorial we learn how to install python3-pyscard in Fedora 36. python3-pyscard is A framework for building smart card aware applications in Python

Introduction

In this tutorial we learn how to install python3-pyscard on Fedora 36.

What is python3-pyscard

The pyscard smartcard library is a framework for building smart card aware applications in Python. The smartcard module is built on top of the PCSC API Python wrapper module. This is the python3 package.

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

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

sudo dnf -y install python3-pyscard

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

sudo yum -y install python3-pyscard

How To Uninstall python3-pyscard on Fedora 36

To uninstall only the python3-pyscard package we can use the following command:

sudo dnf remove python3-pyscard

python3-pyscard Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/27
/usr/lib/.build-id/27/1ac1c78716ca94176653fa477842403f2f000b
/usr/lib64/python3.10/site-packages/pyscard-1.9.7-py3.10.egg-info
/usr/lib64/python3.10/site-packages/pyscard-1.9.7-py3.10.egg-info/PKG-INFO
/usr/lib64/python3.10/site-packages/pyscard-1.9.7-py3.10.egg-info/SOURCES.txt
/usr/lib64/python3.10/site-packages/pyscard-1.9.7-py3.10.egg-info/dependency_links.txt
/usr/lib64/python3.10/site-packages/pyscard-1.9.7-py3.10.egg-info/pbr.json
/usr/lib64/python3.10/site-packages/pyscard-1.9.7-py3.10.egg-info/requires.txt
/usr/lib64/python3.10/site-packages/pyscard-1.9.7-py3.10.egg-info/top_level.txt
/usr/lib64/python3.10/site-packages/smartcard
/usr/lib64/python3.10/site-packages/smartcard/ATR.py
/usr/lib64/python3.10/site-packages/smartcard/AbstractCardRequest.py
/usr/lib64/python3.10/site-packages/smartcard/Card.py
/usr/lib64/python3.10/site-packages/smartcard/CardConnection.py
/usr/lib64/python3.10/site-packages/smartcard/CardConnectionDecorator.py
/usr/lib64/python3.10/site-packages/smartcard/CardConnectionEvent.py
/usr/lib64/python3.10/site-packages/smartcard/CardConnectionObserver.py
/usr/lib64/python3.10/site-packages/smartcard/CardMonitoring.py
/usr/lib64/python3.10/site-packages/smartcard/CardNames.py
/usr/lib64/python3.10/site-packages/smartcard/CardRequest.py
/usr/lib64/python3.10/site-packages/smartcard/CardService.py
/usr/lib64/python3.10/site-packages/smartcard/CardType.py
/usr/lib64/python3.10/site-packages/smartcard/ClassLoader.py
/usr/lib64/python3.10/site-packages/smartcard/Exceptions.py
/usr/lib64/python3.10/site-packages/smartcard/ExclusiveConnectCardConnection.py
/usr/lib64/python3.10/site-packages/smartcard/ExclusiveTransmitCardConnection.py
/usr/lib64/python3.10/site-packages/smartcard/Observer.py
/usr/lib64/python3.10/site-packages/smartcard/PassThruCardService.py
/usr/lib64/python3.10/site-packages/smartcard/ReaderMonitoring.py
/usr/lib64/python3.10/site-packages/smartcard/Session.py
/usr/lib64/python3.10/site-packages/smartcard/Synchronization.py
/usr/lib64/python3.10/site-packages/smartcard/System.py
/usr/lib64/python3.10/site-packages/smartcard/__init__.py
/usr/lib64/python3.10/site-packages/smartcard/__pycache__
/usr/lib64/python3.10/site-packages/smartcard/__pycache__/ATR.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/smartcard/__pycache__/ATR.cpython-310.pyc
/usr/lib64/python3.10/site-packages/smartcard/__pycache__/AbstractCardRequest.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/smartcard/__pycache__/AbstractCardRequest.cpython-310.pyc
/usr/lib64/python3.10/site-packages/smartcard/__pycache__/Card.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/smartcard/__pycache__/Card.cpython-310.pyc
/usr/lib64/python3.10/site-packages/smartcard/__pycache__/CardConnection.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/smartcard/__pycache__/CardConnection.cpython-310.pyc
/usr/lib64/python3.10/site-packages/smartcard/__pycache__/CardConnectionDecorator.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/smartcard/__pycache__/CardConnectionDecorator.cpython-310.pyc
/usr/lib64/python3.10/site-packages/smartcard/__pycache__/CardConnectionEvent.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/smartcard/__pycache__/CardConnectionEvent.cpython-310.pyc
/usr/lib64/python3.10/site-packages/smartcard/__pycache__/CardConnectionObserver.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/smartcard/__pycache__/CardConnectionObserver.cpython-310.pyc
/usr/lib64/python3.10/site-packages/smartcard/__pycache__/CardMonitoring.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/smartcard/__pycache__/CardMonitoring.cpython-310.pyc
/usr/lib64/python3.10/site-packages/smartcard/__pycache__/CardNames.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/smartcard/__pycache__/CardNames.cpython-310.pyc
/usr/lib64/python3.10/site-packages/smartcard/__pycache__/CardRequest.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/smartcard/__pycache__/CardRequest.cpython-310.pyc
/usr/lib64/python3.10/site-packages/smartcard/__pycache__/CardService.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/smartcard/__pycache__/CardService.cpython-310.pyc
/usr/lib64/python3.10/site-packages/smartcard/__pycache__/CardType.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/smartcard/__pycache__/CardType.cpython-310.pyc
/usr/lib64/python3.10/site-packages/smartcard/__pycache__/ClassLoader.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/smartcard/__pycache__/ClassLoader.cpython-310.pyc
/usr/lib64/python3.10/site-packages/smartcard/__pycache__/Exceptions.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/smartcard/__pycache__/Exceptions.cpython-310.pyc
/usr/lib64/python3.10/site-packages/smartcard/__pycache__/ExclusiveConnectCardConnection.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/smartcard/__pycache__/ExclusiveConnectCardConnection.cpython-310.pyc
/usr/lib64/python3.10/site-packages/smartcard/__pycache__/ExclusiveTransmitCardConnection.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/smartcard/__pycache__/ExclusiveTransmitCardConnection.cpython-310.pyc
/usr/lib64/python3.10/site-packages/smartcard/__pycache__/Observer.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/smartcard/__pycache__/Observer.cpython-310.pyc
/usr/lib64/python3.10/site-packages/smartcard/__pycache__/PassThruCardService.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/smartcard/__pycache__/PassThruCardService.cpython-310.pyc
/usr/lib64/python3.10/site-packages/smartcard/__pycache__/ReaderMonitoring.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/smartcard/__pycache__/ReaderMonitoring.cpython-310.pyc
/usr/lib64/python3.10/site-packages/smartcard/__pycache__/Session.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/smartcard/__pycache__/Session.cpython-310.pyc
/usr/lib64/python3.10/site-packages/smartcard/__pycache__/Synchronization.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/smartcard/__pycache__/Synchronization.cpython-310.pyc
/usr/lib64/python3.10/site-packages/smartcard/__pycache__/System.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/smartcard/__pycache__/System.cpython-310.pyc
/usr/lib64/python3.10/site-packages/smartcard/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/smartcard/__pycache__/__init__.cpython-310.pyc
/usr/lib64/python3.10/site-packages/smartcard/__pycache__/guid.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/smartcard/__pycache__/guid.cpython-310.pyc
/usr/lib64/python3.10/site-packages/smartcard/__pycache__/ulist.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/smartcard/__pycache__/ulist.cpython-310.pyc
/usr/lib64/python3.10/site-packages/smartcard/guid.py
/usr/lib64/python3.10/site-packages/smartcard/pcsc
/usr/lib64/python3.10/site-packages/smartcard/pcsc/PCSCCardConnection.py
/usr/lib64/python3.10/site-packages/smartcard/pcsc/PCSCCardRequest.py
/usr/lib64/python3.10/site-packages/smartcard/pcsc/PCSCContext.py
/usr/lib64/python3.10/site-packages/smartcard/pcsc/PCSCExceptions.py
/usr/lib64/python3.10/site-packages/smartcard/pcsc/PCSCPart10.py
/usr/lib64/python3.10/site-packages/smartcard/pcsc/PCSCReader.py
/usr/lib64/python3.10/site-packages/smartcard/pcsc/PCSCReaderGroups.py
/usr/lib64/python3.10/site-packages/smartcard/pcsc/__init__.py
/usr/lib64/python3.10/site-packages/smartcard/pcsc/__pycache__
/usr/lib64/python3.10/site-packages/smartcard/pcsc/__pycache__/PCSCCardConnection.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/smartcard/pcsc/__pycache__/PCSCCardConnection.cpython-310.pyc
/usr/lib64/python3.10/site-packages/smartcard/pcsc/__pycache__/PCSCCardRequest.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/smartcard/pcsc/__pycache__/PCSCCardRequest.cpython-310.pyc
/usr/lib64/python3.10/site-packages/smartcard/pcsc/__pycache__/PCSCContext.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/smartcard/pcsc/__pycache__/PCSCContext.cpython-310.pyc
/usr/lib64/python3.10/site-packages/smartcard/pcsc/__pycache__/PCSCExceptions.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/smartcard/pcsc/__pycache__/PCSCExceptions.cpython-310.pyc
/usr/lib64/python3.10/site-packages/smartcard/pcsc/__pycache__/PCSCPart10.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/smartcard/pcsc/__pycache__/PCSCPart10.cpython-310.pyc
/usr/lib64/python3.10/site-packages/smartcard/pcsc/__pycache__/PCSCReader.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/smartcard/pcsc/__pycache__/PCSCReader.cpython-310.pyc
/usr/lib64/python3.10/site-packages/smartcard/pcsc/__pycache__/PCSCReaderGroups.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/smartcard/pcsc/__pycache__/PCSCReaderGroups.cpython-310.pyc
/usr/lib64/python3.10/site-packages/smartcard/pcsc/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/smartcard/pcsc/__pycache__/__init__.cpython-310.pyc
/usr/lib64/python3.10/site-packages/smartcard/pyro
/usr/lib64/python3.10/site-packages/smartcard/pyro/PyroReader.py
/usr/lib64/python3.10/site-packages/smartcard/pyro/__init__.py
/usr/lib64/python3.10/site-packages/smartcard/pyro/__pycache__
/usr/lib64/python3.10/site-packages/smartcard/pyro/__pycache__/PyroReader.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/smartcard/pyro/__pycache__/PyroReader.cpython-310.pyc
/usr/lib64/python3.10/site-packages/smartcard/pyro/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/smartcard/pyro/__pycache__/__init__.cpython-310.pyc
/usr/lib64/python3.10/site-packages/smartcard/reader
/usr/lib64/python3.10/site-packages/smartcard/reader/Reader.py
/usr/lib64/python3.10/site-packages/smartcard/reader/ReaderFactory.py
/usr/lib64/python3.10/site-packages/smartcard/reader/ReaderGroups.py
/usr/lib64/python3.10/site-packages/smartcard/reader/__init__.py
/usr/lib64/python3.10/site-packages/smartcard/reader/__pycache__
/usr/lib64/python3.10/site-packages/smartcard/reader/__pycache__/Reader.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/smartcard/reader/__pycache__/Reader.cpython-310.pyc
/usr/lib64/python3.10/site-packages/smartcard/reader/__pycache__/ReaderFactory.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/smartcard/reader/__pycache__/ReaderFactory.cpython-310.pyc
/usr/lib64/python3.10/site-packages/smartcard/reader/__pycache__/ReaderGroups.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/smartcard/reader/__pycache__/ReaderGroups.cpython-310.pyc
/usr/lib64/python3.10/site-packages/smartcard/reader/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/smartcard/reader/__pycache__/__init__.cpython-310.pyc
/usr/lib64/python3.10/site-packages/smartcard/scard
/usr/lib64/python3.10/site-packages/smartcard/scard/__init__.py
/usr/lib64/python3.10/site-packages/smartcard/scard/__pycache__
/usr/lib64/python3.10/site-packages/smartcard/scard/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/smartcard/scard/__pycache__/__init__.cpython-310.pyc
/usr/lib64/python3.10/site-packages/smartcard/scard/__pycache__/scard.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/smartcard/scard/__pycache__/scard.cpython-310.pyc
/usr/lib64/python3.10/site-packages/smartcard/scard/_scard.cpython-310-x86_64-linux-gnu.so
/usr/lib64/python3.10/site-packages/smartcard/scard/scard.py
/usr/lib64/python3.10/site-packages/smartcard/sw
/usr/lib64/python3.10/site-packages/smartcard/sw/ErrorChecker.py
/usr/lib64/python3.10/site-packages/smartcard/sw/ErrorCheckingChain.py
/usr/lib64/python3.10/site-packages/smartcard/sw/ISO7816_4ErrorChecker.py
/usr/lib64/python3.10/site-packages/smartcard/sw/ISO7816_4_SW1ErrorChecker.py
/usr/lib64/python3.10/site-packages/smartcard/sw/ISO7816_8ErrorChecker.py
/usr/lib64/python3.10/site-packages/smartcard/sw/ISO7816_9ErrorChecker.py
/usr/lib64/python3.10/site-packages/smartcard/sw/SWExceptions.py
/usr/lib64/python3.10/site-packages/smartcard/sw/__init__.py
/usr/lib64/python3.10/site-packages/smartcard/sw/__pycache__
/usr/lib64/python3.10/site-packages/smartcard/sw/__pycache__/ErrorChecker.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/smartcard/sw/__pycache__/ErrorChecker.cpython-310.pyc
/usr/lib64/python3.10/site-packages/smartcard/sw/__pycache__/ErrorCheckingChain.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/smartcard/sw/__pycache__/ErrorCheckingChain.cpython-310.pyc
/usr/lib64/python3.10/site-packages/smartcard/sw/__pycache__/ISO7816_4ErrorChecker.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/smartcard/sw/__pycache__/ISO7816_4ErrorChecker.cpython-310.pyc
/usr/lib64/python3.10/site-packages/smartcard/sw/__pycache__/ISO7816_4_SW1ErrorChecker.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/smartcard/sw/__pycache__/ISO7816_4_SW1ErrorChecker.cpython-310.pyc
/usr/lib64/python3.10/site-packages/smartcard/sw/__pycache__/ISO7816_8ErrorChecker.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/smartcard/sw/__pycache__/ISO7816_8ErrorChecker.cpython-310.pyc
/usr/lib64/python3.10/site-packages/smartcard/sw/__pycache__/ISO7816_9ErrorChecker.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/smartcard/sw/__pycache__/ISO7816_9ErrorChecker.cpython-310.pyc
/usr/lib64/python3.10/site-packages/smartcard/sw/__pycache__/SWExceptions.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/smartcard/sw/__pycache__/SWExceptions.cpython-310.pyc
/usr/lib64/python3.10/site-packages/smartcard/sw/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/smartcard/sw/__pycache__/__init__.cpython-310.pyc
/usr/lib64/python3.10/site-packages/smartcard/sw/__pycache__/op21_ErrorChecker.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/smartcard/sw/__pycache__/op21_ErrorChecker.cpython-310.pyc
/usr/lib64/python3.10/site-packages/smartcard/sw/op21_ErrorChecker.py
/usr/lib64/python3.10/site-packages/smartcard/ulist.py
/usr/lib64/python3.10/site-packages/smartcard/util
/usr/lib64/python3.10/site-packages/smartcard/util/__init__.py
/usr/lib64/python3.10/site-packages/smartcard/util/__pycache__
/usr/lib64/python3.10/site-packages/smartcard/util/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/smartcard/util/__pycache__/__init__.cpython-310.pyc
/usr/lib64/python3.10/site-packages/smartcard/wx
/usr/lib64/python3.10/site-packages/smartcard/wx/APDUHexValidator.py
/usr/lib64/python3.10/site-packages/smartcard/wx/APDUTracerPanel.py
/usr/lib64/python3.10/site-packages/smartcard/wx/CardAndReaderTreePanel.py
/usr/lib64/python3.10/site-packages/smartcard/wx/ReaderToolbar.py
/usr/lib64/python3.10/site-packages/smartcard/wx/SimpleSCardApp.py
/usr/lib64/python3.10/site-packages/smartcard/wx/SimpleSCardAppEventObserver.py
/usr/lib64/python3.10/site-packages/smartcard/wx/SimpleSCardAppFrame.py
/usr/lib64/python3.10/site-packages/smartcard/wx/__init__.py
/usr/lib64/python3.10/site-packages/smartcard/wx/__pycache__
/usr/lib64/python3.10/site-packages/smartcard/wx/__pycache__/APDUHexValidator.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/smartcard/wx/__pycache__/APDUHexValidator.cpython-310.pyc
/usr/lib64/python3.10/site-packages/smartcard/wx/__pycache__/APDUTracerPanel.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/smartcard/wx/__pycache__/APDUTracerPanel.cpython-310.pyc
/usr/lib64/python3.10/site-packages/smartcard/wx/__pycache__/CardAndReaderTreePanel.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/smartcard/wx/__pycache__/CardAndReaderTreePanel.cpython-310.pyc
/usr/lib64/python3.10/site-packages/smartcard/wx/__pycache__/ReaderToolbar.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/smartcard/wx/__pycache__/ReaderToolbar.cpython-310.pyc
/usr/lib64/python3.10/site-packages/smartcard/wx/__pycache__/SimpleSCardApp.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/smartcard/wx/__pycache__/SimpleSCardApp.cpython-310.pyc
/usr/lib64/python3.10/site-packages/smartcard/wx/__pycache__/SimpleSCardAppEventObserver.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/smartcard/wx/__pycache__/SimpleSCardAppEventObserver.cpython-310.pyc
/usr/lib64/python3.10/site-packages/smartcard/wx/__pycache__/SimpleSCardAppFrame.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/smartcard/wx/__pycache__/SimpleSCardAppFrame.cpython-310.pyc
/usr/lib64/python3.10/site-packages/smartcard/wx/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/smartcard/wx/__pycache__/__init__.cpython-310.pyc
/usr/lib64/python3.10/site-packages/smartcard/wx/resources
/usr/lib64/python3.10/site-packages/smartcard/wx/resources/reader.ico
/usr/lib64/python3.10/site-packages/smartcard/wx/resources/smartcard.ico
/usr/share/doc/python3-pyscard
/usr/share/doc/python3-pyscard/ACKS
/usr/share/doc/python3-pyscard/README.md
/usr/share/doc/python3-pyscard/images
/usr/share/doc/python3-pyscard/images/pyscard.jpg
/usr/share/doc/python3-pyscard/images/sflogo.php.png
/usr/share/licenses/python3-pyscard
/usr/share/licenses/python3-pyscard/LICENSE

References

Summary

In this tutorial we learn how to install python3-pyscard on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).