card-test command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
card-test: command not found
or when using sudo you get the following error message
sudo: card-test: command not found
Solutions to card-test: command not found
How To Fix card-test: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu card-test is provided by libsmartcardpp-dev package.
libsmartcardpp-dev is:
smartcardpp is a set of C++ classes to manage Smart Card communications and to implement basic command primitives.
This package provides the development headers and testing tools.
To fix this problem, we can install more using the command below.
sudo apt-get -y install libsmartcardpp-dev
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install libsmartcardpp-dev.
sudo apt -y install libsmartcardpp-dev
Or if you have aptitude installed you can use the following command.
sudo aptitude install libsmartcardpp-dev
Summary
In this tutorial we learn how to fix card-test command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.