How To Install cardpeek-data on Debian 9

In this tutorial we learn how to install cardpeek-data on Debian 9. cardpeek-data is Tool to read the contents of ISO7816 smartcards - data files

Introduction

In this tutorial we learn how to install cardpeek-data on Debian 9.

What is cardpeek-data

cardpeek-data is:

The goal of cardpeek is to allow smartcard owners to be better informed about what type of personal information is stored in these devices. The tool currently reads the contents of :

  • EMV cards, including NFC ones
  • Navigo public transport cards (partially supports MOBIB as well)
  • The French health card “Vitale 2”
  • Electronic/Biometric passports in BAC security mode

It can also read the following cards with limited interpretation of data:

  • Some Mifare cards (such as the Thalys card)
  • Moneo, the French electronic purse
  • GSM SIM cards

This package contains architecture independent data files for cardpeek.

There are three methods to install cardpeek-data on Debian 9. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install cardpeek-data Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install cardpeek-data using apt-get by running the following command:

sudo apt-get -y install cardpeek-data

Install cardpeek-data Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install cardpeek-data using apt by running the following command:

sudo apt -y install cardpeek-data

Install cardpeek-data Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install cardpeek-data using aptitude by running the following command:

sudo aptitude -y install cardpeek-data

How To Uninstall cardpeek-data on Debian 9

To uninstall only the cardpeek-data package we can use the following command:

sudo apt-get remove cardpeek-data

Uninstall cardpeek-data And Its Dependencies

To uninstall cardpeek-data and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove cardpeek-data

Remove cardpeek-data Configurations and Data

To remove cardpeek-data configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge cardpeek-data

Remove cardpeek-data configuration, data, and all of its dependencies

We can use the following command to remove cardpeek-data configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge cardpeek-data

Dependencies

cardpeek-data have the following dependencies:

References

Summary

In this tutorial we learn how to install cardpeek-data package on Debian 9 using different package management tools: apt, apt-get and aptitude.