How To Install pcsc-lite on CentOS 7

In this tutorial we learn how to install pcsc-lite on CentOS 7. pcsc-lite is PC/SC Lite smart card framework and applications

Introduction

In this tutorial we learn how to install pcsc-lite on CentOS 7.

What is pcsc-lite

The purpose of PC/SC Lite is to provide a Windows(R) SCard interface in a very small form factor for communicating to smartcards and readers. PC/SC Lite uses the same winscard API as used under Windows(R). This package includes the PC/SC Lite daemon, a resource manager that coordinates communications with smart card readers and smart cards that are connected to the system, as well as other command line tools.

We can use yum or dnf to install pcsc-lite on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install pcsc-lite.

Install pcsc-lite on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install pcsc-lite using yum by running the following command:

sudo yum -y install pcsc-lite

Install pcsc-lite on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install pcsc-lite using dnf by running the following command:

sudo dnf -y install pcsc-lite

How To Uninstall pcsc-lite on CentOS 7

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

sudo dnf remove pcsc-lite

References

Summary

In this tutorial we learn how to install pcsc-lite on CentOS 7 using yum and dnf.