pysim and Linux (Ubuntu Hardy)
Posted: Fri Oct 10, 2008 1:13 am
Using "pysim" with Ubuntu Hardy (8.04) - and probably other Linux distros as well:
1) download pySim's sourcecode from sourceforge:
# login anonmyously - just hit "enter" at the password prompt:
# download the cvs source:
2) Apply Stephen Murdoch's patches:
# download the patches and store them in patches/ subfolder of pySimReader:
S. Murdoch's pysim patches
# apply patches in the following order:
3) Install PCSC infrastructure:
# install and start "pcscd" and "libpcsclite"
# download PyCSC:
http://pypi.python.org/pypi/PyCSC/0.3
(WARNING! Don't mistake it with an older version (0.0.3) of pycsc, you might find on the web)
# install PyCSC as root:
1) download pySim's sourcecode from sourceforge:
# login anonmyously - just hit "enter" at the password prompt:
Code: Select all
cvs -d:pserver:anonymous@simreader.cvs.sourceforge.net:/cvsroot/simreader login
Code: Select all
cvs -z3 -d:pserver:anonymous@simreader.cvs.sourceforge.net:/cvsroot/simreader co -P pySimReader
# download the patches and store them in patches/ subfolder of pySimReader:
S. Murdoch's pysim patches
# apply patches in the following order:
Code: Select all
patch < patches/rename-icon.patch
patch < patches/use-wxversion.patch
patch < patches/pypcsc-wrapper.patch
patch < patches/import-pypcsc.patch
# install and start "pcscd" and "libpcsclite"
Code: Select all
apt-get install pcscd libpcscdlite-dev
/etc/init.d/pcscd start
http://pypi.python.org/pypi/PyCSC/0.3
(WARNING! Don't mistake it with an older version (0.0.3) of pycsc, you might find on the web)
# install PyCSC as root:
Code: Select all
python setup.py build
python setup.py install