Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
RIA ID-kaardi tarkvara ehitamine Debiani jaoks
branch: master
Failed to load latest commit information. Suggest Github mirror Update for v3.8.0 on Debian 7.3
debian.diff Update for v3.8.0 on Debian 7.3

Building RIA ID-card software v3.8.1 packages on Debian

  • This is provided on AS IS basis, no warranty whatsoever.
  • This works for me on Debian 7.3 amd64 and Ubuntu 13.10 amd64, YMMV.
  • Debian 6.0 (Squeeze) users are stuck with v3.6 and should use the debian6 branch upgrade to Debian 7.
  • Make sure you can use sudo (add yourself to "sudo" group) - assumes you already have sudo!
  • There are tarballs now available from SK, for packages built from those tarballs, have a look at

# install dependencies
sudo apt-get install --no-install-recommends subversion doxygen xsdcxx cdbs \
cmake build-essential libxml2-dev ruby zip rubygems dpkg-dev libssl-dev \
libp11-dev libpcsclite-dev libldap2-dev libgtk2.0-dev libqt4-dev \
libxerces-c-dev libxml-security-c-dev libtool autoconf automake fakeroot \
lintian git debhelper

# add your private repository to /etc/apt/sources.list. DO THIS ONLY ONCE!
sudo sh -c "echo 'deb file://$HOME/repository ./' >> /etc/apt/sources.list"

# clone this repostiory (to get the diff and builder script!)
git clone
cd ria-debian-build

# get the source code of baastarkvara.

# option a: get pre-patched code from Github.
# see

# option b: check out the source code from SVN and patch it yourself
svn co idkaart
(cd idkaart && patch -p0 < ../debian.diff)

# build ... things.
mkdir -p idkaart/current && ln -s  ../packaging idkaart/current/packaging

# install the packages
sudo apt-get update
sudo apt-get install qdigidoc qesteidutil esteidcerts esteidfirefoxplugin opensc

# configure Chrome for ID-card (run Chrome at least once before trying!)
sudo apt-get install libnss3-tools
modutil  -dbdir sql:$HOME/.pki/nssdb -delete opensc-pkcs11
modutil  -dbdir sql:$HOME/.pki/nssdb -add opensc-pkcs11 -libfile -mechanisms FRIENDLY

# then go to "about:plugins" and select "Always allow" for "EstEID plug-in" 
# (or you will have to manually select "Always allow for this site")

  • E-mail if you find something fishy in this small tutorial.
  • E-mail package contacts if you find problems with packages or software.

Good luck.

Something went wrong with that request. Please try again.