sudo apt update sudo apt install autoconf automake build-essential libpcsclite-dev python3-crypto python3-pip libtool help2man pip3 install argparse git clone https://github.com/jpbarraca/vsmartcard.git cd vsmartcard cd virtualsmartcard autoreconf --verbose --install ./configure --sysconfdir=/etc make sudo make install systemctl stop pcscd sudo pcscd -f -d cd vsmartcard cd pteid python3 generate_pteid_card.py cd virtualsmartcard/src/vpicc cp ../../../pteid/card.json . ./vicc -t PTEID -v