How To Install python3-pyscard on Rocky Linux 8
Introduction
In this tutorial we learn how to install python3-pyscard
on Rocky Linux 8.
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 Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python3-pyscard.
Install python3-pyscard 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 python3-pyscard
using dnf
by running the following command:
sudo dnf -y install python3-pyscard
Install python3-pyscard 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 python3-pyscard
using yum
by running the following command:
sudo yum -y install python3-pyscard
How To Uninstall python3-pyscard on Rocky Linux 8
To uninstall only the python3-pyscard
package we can use the following command:
sudo dnf remove python3-pyscard
python3-pyscard Package Contents on Rocky Linux 8
/usr/lib/.build-id
/usr/lib/.build-id/36
/usr/lib/.build-id/36/8ed285b8e9aa9617492161e7a5f5027ab49d44
/usr/lib64/python3.6/site-packages/pyscard-1.9.7-py3.6.egg-info
/usr/lib64/python3.6/site-packages/pyscard-1.9.7-py3.6.egg-info/PKG-INFO
/usr/lib64/python3.6/site-packages/pyscard-1.9.7-py3.6.egg-info/SOURCES.txt
/usr/lib64/python3.6/site-packages/pyscard-1.9.7-py3.6.egg-info/dependency_links.txt
/usr/lib64/python3.6/site-packages/pyscard-1.9.7-py3.6.egg-info/pbr.json
/usr/lib64/python3.6/site-packages/pyscard-1.9.7-py3.6.egg-info/requires.txt
/usr/lib64/python3.6/site-packages/pyscard-1.9.7-py3.6.egg-info/top_level.txt
/usr/lib64/python3.6/site-packages/smartcard
/usr/lib64/python3.6/site-packages/smartcard/ATR.py
/usr/lib64/python3.6/site-packages/smartcard/AbstractCardRequest.py
/usr/lib64/python3.6/site-packages/smartcard/Card.py
/usr/lib64/python3.6/site-packages/smartcard/CardConnection.py
/usr/lib64/python3.6/site-packages/smartcard/CardConnectionDecorator.py
/usr/lib64/python3.6/site-packages/smartcard/CardConnectionEvent.py
/usr/lib64/python3.6/site-packages/smartcard/CardConnectionObserver.py
/usr/lib64/python3.6/site-packages/smartcard/CardMonitoring.py
/usr/lib64/python3.6/site-packages/smartcard/CardNames.py
/usr/lib64/python3.6/site-packages/smartcard/CardRequest.py
/usr/lib64/python3.6/site-packages/smartcard/CardService.py
/usr/lib64/python3.6/site-packages/smartcard/CardType.py
/usr/lib64/python3.6/site-packages/smartcard/ClassLoader.py
/usr/lib64/python3.6/site-packages/smartcard/Exceptions.py
/usr/lib64/python3.6/site-packages/smartcard/ExclusiveConnectCardConnection.py
/usr/lib64/python3.6/site-packages/smartcard/ExclusiveTransmitCardConnection.py
/usr/lib64/python3.6/site-packages/smartcard/Observer.py
/usr/lib64/python3.6/site-packages/smartcard/PassThruCardService.py
/usr/lib64/python3.6/site-packages/smartcard/ReaderMonitoring.py
/usr/lib64/python3.6/site-packages/smartcard/Session.py
/usr/lib64/python3.6/site-packages/smartcard/Synchronization.py
/usr/lib64/python3.6/site-packages/smartcard/System.py
/usr/lib64/python3.6/site-packages/smartcard/__init__.py
/usr/lib64/python3.6/site-packages/smartcard/__pycache__
/usr/lib64/python3.6/site-packages/smartcard/__pycache__/ATR.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/smartcard/__pycache__/ATR.cpython-36.pyc
/usr/lib64/python3.6/site-packages/smartcard/__pycache__/AbstractCardRequest.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/smartcard/__pycache__/AbstractCardRequest.cpython-36.pyc
/usr/lib64/python3.6/site-packages/smartcard/__pycache__/Card.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/smartcard/__pycache__/Card.cpython-36.pyc
/usr/lib64/python3.6/site-packages/smartcard/__pycache__/CardConnection.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/smartcard/__pycache__/CardConnection.cpython-36.pyc
/usr/lib64/python3.6/site-packages/smartcard/__pycache__/CardConnectionDecorator.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/smartcard/__pycache__/CardConnectionDecorator.cpython-36.pyc
/usr/lib64/python3.6/site-packages/smartcard/__pycache__/CardConnectionEvent.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/smartcard/__pycache__/CardConnectionEvent.cpython-36.pyc
/usr/lib64/python3.6/site-packages/smartcard/__pycache__/CardConnectionObserver.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/smartcard/__pycache__/CardConnectionObserver.cpython-36.pyc
/usr/lib64/python3.6/site-packages/smartcard/__pycache__/CardMonitoring.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/smartcard/__pycache__/CardMonitoring.cpython-36.pyc
/usr/lib64/python3.6/site-packages/smartcard/__pycache__/CardNames.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/smartcard/__pycache__/CardNames.cpython-36.pyc
/usr/lib64/python3.6/site-packages/smartcard/__pycache__/CardRequest.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/smartcard/__pycache__/CardRequest.cpython-36.pyc
/usr/lib64/python3.6/site-packages/smartcard/__pycache__/CardService.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/smartcard/__pycache__/CardService.cpython-36.pyc
/usr/lib64/python3.6/site-packages/smartcard/__pycache__/CardType.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/smartcard/__pycache__/CardType.cpython-36.pyc
/usr/lib64/python3.6/site-packages/smartcard/__pycache__/ClassLoader.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/smartcard/__pycache__/ClassLoader.cpython-36.pyc
/usr/lib64/python3.6/site-packages/smartcard/__pycache__/Exceptions.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/smartcard/__pycache__/Exceptions.cpython-36.pyc
/usr/lib64/python3.6/site-packages/smartcard/__pycache__/ExclusiveConnectCardConnection.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/smartcard/__pycache__/ExclusiveConnectCardConnection.cpython-36.pyc
/usr/lib64/python3.6/site-packages/smartcard/__pycache__/ExclusiveTransmitCardConnection.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/smartcard/__pycache__/ExclusiveTransmitCardConnection.cpython-36.pyc
/usr/lib64/python3.6/site-packages/smartcard/__pycache__/Observer.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/smartcard/__pycache__/Observer.cpython-36.pyc
/usr/lib64/python3.6/site-packages/smartcard/__pycache__/PassThruCardService.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/smartcard/__pycache__/PassThruCardService.cpython-36.pyc
/usr/lib64/python3.6/site-packages/smartcard/__pycache__/ReaderMonitoring.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/smartcard/__pycache__/ReaderMonitoring.cpython-36.pyc
/usr/lib64/python3.6/site-packages/smartcard/__pycache__/Session.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/smartcard/__pycache__/Session.cpython-36.pyc
/usr/lib64/python3.6/site-packages/smartcard/__pycache__/Synchronization.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/smartcard/__pycache__/Synchronization.cpython-36.pyc
/usr/lib64/python3.6/site-packages/smartcard/__pycache__/System.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/smartcard/__pycache__/System.cpython-36.pyc
/usr/lib64/python3.6/site-packages/smartcard/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/smartcard/__pycache__/__init__.cpython-36.pyc
/usr/lib64/python3.6/site-packages/smartcard/__pycache__/guid.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/smartcard/__pycache__/guid.cpython-36.pyc
/usr/lib64/python3.6/site-packages/smartcard/__pycache__/ulist.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/smartcard/__pycache__/ulist.cpython-36.pyc
/usr/lib64/python3.6/site-packages/smartcard/guid.py
/usr/lib64/python3.6/site-packages/smartcard/pcsc
/usr/lib64/python3.6/site-packages/smartcard/pcsc/PCSCCardConnection.py
/usr/lib64/python3.6/site-packages/smartcard/pcsc/PCSCCardRequest.py
/usr/lib64/python3.6/site-packages/smartcard/pcsc/PCSCContext.py
/usr/lib64/python3.6/site-packages/smartcard/pcsc/PCSCExceptions.py
/usr/lib64/python3.6/site-packages/smartcard/pcsc/PCSCPart10.py
/usr/lib64/python3.6/site-packages/smartcard/pcsc/PCSCReader.py
/usr/lib64/python3.6/site-packages/smartcard/pcsc/PCSCReaderGroups.py
/usr/lib64/python3.6/site-packages/smartcard/pcsc/__init__.py
/usr/lib64/python3.6/site-packages/smartcard/pcsc/__pycache__
/usr/lib64/python3.6/site-packages/smartcard/pcsc/__pycache__/PCSCCardConnection.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/smartcard/pcsc/__pycache__/PCSCCardConnection.cpython-36.pyc
/usr/lib64/python3.6/site-packages/smartcard/pcsc/__pycache__/PCSCCardRequest.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/smartcard/pcsc/__pycache__/PCSCCardRequest.cpython-36.pyc
/usr/lib64/python3.6/site-packages/smartcard/pcsc/__pycache__/PCSCContext.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/smartcard/pcsc/__pycache__/PCSCContext.cpython-36.pyc
/usr/lib64/python3.6/site-packages/smartcard/pcsc/__pycache__/PCSCExceptions.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/smartcard/pcsc/__pycache__/PCSCExceptions.cpython-36.pyc
/usr/lib64/python3.6/site-packages/smartcard/pcsc/__pycache__/PCSCPart10.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/smartcard/pcsc/__pycache__/PCSCPart10.cpython-36.pyc
/usr/lib64/python3.6/site-packages/smartcard/pcsc/__pycache__/PCSCReader.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/smartcard/pcsc/__pycache__/PCSCReader.cpython-36.pyc
/usr/lib64/python3.6/site-packages/smartcard/pcsc/__pycache__/PCSCReaderGroups.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/smartcard/pcsc/__pycache__/PCSCReaderGroups.cpython-36.pyc
/usr/lib64/python3.6/site-packages/smartcard/pcsc/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/smartcard/pcsc/__pycache__/__init__.cpython-36.pyc
/usr/lib64/python3.6/site-packages/smartcard/pyro
/usr/lib64/python3.6/site-packages/smartcard/pyro/PyroReader.py
/usr/lib64/python3.6/site-packages/smartcard/pyro/__init__.py
/usr/lib64/python3.6/site-packages/smartcard/pyro/__pycache__
/usr/lib64/python3.6/site-packages/smartcard/pyro/__pycache__/PyroReader.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/smartcard/pyro/__pycache__/PyroReader.cpython-36.pyc
/usr/lib64/python3.6/site-packages/smartcard/pyro/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/smartcard/pyro/__pycache__/__init__.cpython-36.pyc
/usr/lib64/python3.6/site-packages/smartcard/reader
/usr/lib64/python3.6/site-packages/smartcard/reader/Reader.py
/usr/lib64/python3.6/site-packages/smartcard/reader/ReaderFactory.py
/usr/lib64/python3.6/site-packages/smartcard/reader/ReaderGroups.py
/usr/lib64/python3.6/site-packages/smartcard/reader/__init__.py
/usr/lib64/python3.6/site-packages/smartcard/reader/__pycache__
/usr/lib64/python3.6/site-packages/smartcard/reader/__pycache__/Reader.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/smartcard/reader/__pycache__/Reader.cpython-36.pyc
/usr/lib64/python3.6/site-packages/smartcard/reader/__pycache__/ReaderFactory.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/smartcard/reader/__pycache__/ReaderFactory.cpython-36.pyc
/usr/lib64/python3.6/site-packages/smartcard/reader/__pycache__/ReaderGroups.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/smartcard/reader/__pycache__/ReaderGroups.cpython-36.pyc
/usr/lib64/python3.6/site-packages/smartcard/reader/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/smartcard/reader/__pycache__/__init__.cpython-36.pyc
/usr/lib64/python3.6/site-packages/smartcard/scard
/usr/lib64/python3.6/site-packages/smartcard/scard/__init__.py
/usr/lib64/python3.6/site-packages/smartcard/scard/__pycache__
/usr/lib64/python3.6/site-packages/smartcard/scard/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/smartcard/scard/__pycache__/__init__.cpython-36.pyc
/usr/lib64/python3.6/site-packages/smartcard/scard/__pycache__/scard.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/smartcard/scard/__pycache__/scard.cpython-36.pyc
/usr/lib64/python3.6/site-packages/smartcard/scard/_scard.cpython-36m-x86_64-linux-gnu.so
/usr/lib64/python3.6/site-packages/smartcard/scard/scard.py
/usr/lib64/python3.6/site-packages/smartcard/sw
/usr/lib64/python3.6/site-packages/smartcard/sw/ErrorChecker.py
/usr/lib64/python3.6/site-packages/smartcard/sw/ErrorCheckingChain.py
/usr/lib64/python3.6/site-packages/smartcard/sw/ISO7816_4ErrorChecker.py
/usr/lib64/python3.6/site-packages/smartcard/sw/ISO7816_4_SW1ErrorChecker.py
/usr/lib64/python3.6/site-packages/smartcard/sw/ISO7816_8ErrorChecker.py
/usr/lib64/python3.6/site-packages/smartcard/sw/ISO7816_9ErrorChecker.py
/usr/lib64/python3.6/site-packages/smartcard/sw/SWExceptions.py
/usr/lib64/python3.6/site-packages/smartcard/sw/__init__.py
/usr/lib64/python3.6/site-packages/smartcard/sw/__pycache__
/usr/lib64/python3.6/site-packages/smartcard/sw/__pycache__/ErrorChecker.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/smartcard/sw/__pycache__/ErrorChecker.cpython-36.pyc
/usr/lib64/python3.6/site-packages/smartcard/sw/__pycache__/ErrorCheckingChain.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/smartcard/sw/__pycache__/ErrorCheckingChain.cpython-36.pyc
/usr/lib64/python3.6/site-packages/smartcard/sw/__pycache__/ISO7816_4ErrorChecker.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/smartcard/sw/__pycache__/ISO7816_4ErrorChecker.cpython-36.pyc
/usr/lib64/python3.6/site-packages/smartcard/sw/__pycache__/ISO7816_4_SW1ErrorChecker.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/smartcard/sw/__pycache__/ISO7816_4_SW1ErrorChecker.cpython-36.pyc
/usr/lib64/python3.6/site-packages/smartcard/sw/__pycache__/ISO7816_8ErrorChecker.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/smartcard/sw/__pycache__/ISO7816_8ErrorChecker.cpython-36.pyc
/usr/lib64/python3.6/site-packages/smartcard/sw/__pycache__/ISO7816_9ErrorChecker.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/smartcard/sw/__pycache__/ISO7816_9ErrorChecker.cpython-36.pyc
/usr/lib64/python3.6/site-packages/smartcard/sw/__pycache__/SWExceptions.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/smartcard/sw/__pycache__/SWExceptions.cpython-36.pyc
/usr/lib64/python3.6/site-packages/smartcard/sw/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/smartcard/sw/__pycache__/__init__.cpython-36.pyc
/usr/lib64/python3.6/site-packages/smartcard/sw/__pycache__/op21_ErrorChecker.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/smartcard/sw/__pycache__/op21_ErrorChecker.cpython-36.pyc
/usr/lib64/python3.6/site-packages/smartcard/sw/op21_ErrorChecker.py
/usr/lib64/python3.6/site-packages/smartcard/ulist.py
/usr/lib64/python3.6/site-packages/smartcard/util
/usr/lib64/python3.6/site-packages/smartcard/util/__init__.py
/usr/lib64/python3.6/site-packages/smartcard/util/__pycache__
/usr/lib64/python3.6/site-packages/smartcard/util/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/smartcard/util/__pycache__/__init__.cpython-36.pyc
/usr/lib64/python3.6/site-packages/smartcard/wx
/usr/lib64/python3.6/site-packages/smartcard/wx/APDUHexValidator.py
/usr/lib64/python3.6/site-packages/smartcard/wx/APDUTracerPanel.py
/usr/lib64/python3.6/site-packages/smartcard/wx/CardAndReaderTreePanel.py
/usr/lib64/python3.6/site-packages/smartcard/wx/ReaderToolbar.py
/usr/lib64/python3.6/site-packages/smartcard/wx/SimpleSCardApp.py
/usr/lib64/python3.6/site-packages/smartcard/wx/SimpleSCardAppEventObserver.py
/usr/lib64/python3.6/site-packages/smartcard/wx/SimpleSCardAppFrame.py
/usr/lib64/python3.6/site-packages/smartcard/wx/__init__.py
/usr/lib64/python3.6/site-packages/smartcard/wx/__pycache__
/usr/lib64/python3.6/site-packages/smartcard/wx/__pycache__/APDUHexValidator.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/smartcard/wx/__pycache__/APDUHexValidator.cpython-36.pyc
/usr/lib64/python3.6/site-packages/smartcard/wx/__pycache__/APDUTracerPanel.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/smartcard/wx/__pycache__/APDUTracerPanel.cpython-36.pyc
/usr/lib64/python3.6/site-packages/smartcard/wx/__pycache__/CardAndReaderTreePanel.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/smartcard/wx/__pycache__/CardAndReaderTreePanel.cpython-36.pyc
/usr/lib64/python3.6/site-packages/smartcard/wx/__pycache__/ReaderToolbar.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/smartcard/wx/__pycache__/ReaderToolbar.cpython-36.pyc
/usr/lib64/python3.6/site-packages/smartcard/wx/__pycache__/SimpleSCardApp.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/smartcard/wx/__pycache__/SimpleSCardApp.cpython-36.pyc
/usr/lib64/python3.6/site-packages/smartcard/wx/__pycache__/SimpleSCardAppEventObserver.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/smartcard/wx/__pycache__/SimpleSCardAppEventObserver.cpython-36.pyc
/usr/lib64/python3.6/site-packages/smartcard/wx/__pycache__/SimpleSCardAppFrame.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/smartcard/wx/__pycache__/SimpleSCardAppFrame.cpython-36.pyc
/usr/lib64/python3.6/site-packages/smartcard/wx/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/smartcard/wx/__pycache__/__init__.cpython-36.pyc
/usr/lib64/python3.6/site-packages/smartcard/wx/resources
/usr/lib64/python3.6/site-packages/smartcard/wx/resources/reader.ico
/usr/lib64/python3.6/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 Rocky Linux 8 using yum and dnf.