INSTALLATION GUIDE
March 4, 2013 ยท View on GitHub
================== INSTALLATION GUIDE
Here is the complete installation guide for pyPassport and ePassportViewer on Linux (tested on Ubuntu 12.04LTS 32bit) with an Omnikey 5321 using python 2.7.
pyPassport
- Install python-dev: "sudo apt-get install python-dev"
- Install setuptools: "sudo apt-get install python-setuptools"
- Install pyCrypto: "sudo apt-get install python-crypto"
- Install pyasn1: "sudo apt-get install python-pyasn1"
- Install pyscard: "sudo apt-get install python-pyscard"
- Install openssl: "sudo apt-get install openssl python-openssl"
- Install JRE (for createSOD): "sudo apt-get install openjdk-6-jre-headless"
- Install pypassport-2.0: "cd pypassport-2.0" "python setup.py bdist_egg" "cd dist" "sudo easy_install pypassport-2.0-py2.7.egg"
Install driver
- Unplug readers
- Install libusb-dev: "sudo apt-get install libusb-dev"
- Install pcscd: "sudo apt-get install pcscd"
-
Omnikey 5321: "cd ressources" "tar xzf ifdokrfid_lnx_i686-2.10.0.1.tar.gz" "cd ifdokrfid_lnx_i686-2.10.0.1" "sudo ./install"
-
ACR: "cd ressources" "unzip ACR122_PKG_Lnx_102_P.zip" "cd acsccid_linux_bin-1.0.2/ubuntu10.10" "sudo dpkg -i libacsccid_1.0.2-1_i386.deb"
- Test the reader Plug the reader "sudo pcscd -f -d"
ePassportViewer
- Install tkinter: "sudo apt-get install python-tk" "sudo apt-get install python-imaging-tk"
- Install libjpeg62: "sudo apt-get install libjpeg62"
- Install Reportlab: "sudo apt-get install python-reportlab"
- Run ePassportViewer: "cd ePassportViewer-2.0" "python ePassportViewer.py" or 'click and run'