How To Install libcacard on Rocky Linux 8
Introduction
In this tutorial we learn how to install libcacard on Rocky Linux 8.
What is libcacard
This library provides emulation of smart cards to a virtual card reader running in a guest virtual machine. It implements DoD CAC standard with separate pki containers (compatible coolkey), using certificates read from NSS.
We can use yum or dnf to install libcacard on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libcacard.
Install libcacard 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 libcacard using dnf by running the following command:
sudo dnf -y install libcacard
Install libcacard 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 libcacard using yum by running the following command:
sudo yum -y install libcacard
How To Uninstall libcacard on Rocky Linux 8
To uninstall only the libcacard package we can use the following command:
sudo dnf remove libcacard
libcacard Package Contents on Rocky Linux 8
/usr/lib/.build-id
/usr/lib/.build-id/c6
/usr/lib/.build-id/c6/f75de8652e2ca0888910d7fa5b86ba50a53a4d
/usr/lib64/libcacard.so.0
/usr/lib64/libcacard.so.0.0.0
/usr/share/doc/libcacard
/usr/share/doc/libcacard/NEWS
/usr/share/licenses/libcacard
/usr/share/licenses/libcacard/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/ec
/usr/lib/.build-id/ec/e7149652c5f5ed9b0a5b9d37e05355f73af543
/usr/lib/libcacard.so.0
/usr/lib/libcacard.so.0.0.0
/usr/share/doc/libcacard
/usr/share/doc/libcacard/NEWS
/usr/share/licenses/libcacard
/usr/share/licenses/libcacard/COPYING
References
Summary
In this tutorial we learn how to install libcacard on Rocky Linux 8 using yum and dnf.