How To Install pcsc-tools on Rocky Linux 8

In this tutorial we learn how to install pcsc-tools on Rocky Linux 8. pcsc-tools is Tools to be used with smart cards and PC/SC

Introduction

In this tutorial we learn how to install pcsc-tools on Rocky Linux 8.

What is pcsc-tools

The pcsc-tools package contains some useful tools for a PC/SC user pcsc_scan regularly scans connected PC/SC smart card readers and prints detected events, ATR_analysis analyzes smart card ATRs (Anwser To Reset), and scriptor sends commands to a smart card.

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

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

sudo dnf -y install pcsc-tools

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

sudo yum -y install pcsc-tools

How To Uninstall pcsc-tools on Rocky Linux 8

To uninstall only the pcsc-tools package we can use the following command:

sudo dnf remove pcsc-tools

pcsc-tools Package Contents on Rocky Linux 8

/usr/bin/ATR_analysis
/usr/bin/pcsc_scan
/usr/bin/scriptor
/usr/lib/.build-id
/usr/lib/.build-id/8e
/usr/lib/.build-id/8e/16b9dbc975cec319a02fddfd0aba21daf3543e
/usr/share/doc/pcsc-tools
/usr/share/doc/pcsc-tools/Changelog
/usr/share/doc/pcsc-tools/README
/usr/share/licenses/pcsc-tools
/usr/share/licenses/pcsc-tools/LICENCE
/usr/share/man/man1/ATR_analysis.1p.gz
/usr/share/man/man1/pcsc_scan.1.gz
/usr/share/man/man1/scriptor.1p.gz
/usr/share/pcsc
/usr/share/pcsc/smartcard_list.txt

References

Summary

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