How To Install pcsc-perl on Rocky Linux 8

In this tutorial we learn how to install pcsc-perl on Rocky Linux 8. pcsc-perl is Perl interface to the PC/SC smart card library

Introduction

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

What is pcsc-perl

This library allows to communicate with a smart card using PC/SC interface (pcsc-lite) from a Perl script.

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

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

sudo dnf -y install pcsc-perl

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

sudo yum -y install pcsc-perl

How To Uninstall pcsc-perl on Rocky Linux 8

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

sudo dnf remove pcsc-perl

pcsc-perl Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/cd
/usr/lib/.build-id/cd/f7caa2aae45ea8ac15ef032257fb9baccce70a
/usr/lib64/perl5/vendor_perl/Chipcard
/usr/lib64/perl5/vendor_perl/Chipcard/PCSC
/usr/lib64/perl5/vendor_perl/Chipcard/PCSC.pm
/usr/lib64/perl5/vendor_perl/Chipcard/PCSC.pod
/usr/lib64/perl5/vendor_perl/Chipcard/PCSC/Card.pm
/usr/lib64/perl5/vendor_perl/Chipcard/PCSC/Card.pod
/usr/lib64/perl5/vendor_perl/auto/Chipcard
/usr/lib64/perl5/vendor_perl/auto/Chipcard/PCSC
/usr/lib64/perl5/vendor_perl/auto/Chipcard/PCSC/PCSC.so
/usr/share/doc/pcsc-perl
/usr/share/doc/pcsc-perl/Changelog
/usr/share/doc/pcsc-perl/README
/usr/share/doc/pcsc-perl/examples
/usr/share/doc/pcsc-perl/examples/gsm.script
/usr/share/doc/pcsc-perl/examples/gsm_directory.pl
/usr/share/doc/pcsc-perl/examples/test_iso_error.pl
/usr/share/licenses/pcsc-perl
/usr/share/licenses/pcsc-perl/LICENCE
/usr/share/man/man3/Chipcard::PCSC.3pm.gz
/usr/share/man/man3/Chipcard::PCSC::Card.3pm.gz

References

Summary

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