installing eid-viewer eid-middleware manually on debian

If you distribution is not supported yet then build it from the tar file. I’m sharing this article for other curious creatures who want to just go on with their lives while working on a testing distro..

To build something you need to install the build essentials ofcourse:

sudo apt-get install build-essential

now go download the tar file here
and unpack it:

tar -xf eid-mw-4.2.5-v4.2.5.tar.gz 
cd eid-mw-4.2.5-v4.2.5/

Now I’ll save you some time by listing the libraries I had to install after getting errors all the time when trying to do ./configure and hunting down the package name:

sudo apt-get install -y pkg-config libpcsclite-dev libgtk-3-dev libxml2-dev libproxy-dev libssl-dev libcurl4-openssl-dev
[might have changed now]

When you managed to run ./configure and you succesfully created the makefile do:



sudo make install

now try run the eid-viewer from the cli:


I had to copy over the following libraries it installed in /usr/local/lib.

sudo cp /usr/local/lib/libeidviewer.* /usr/lib/
sudo cp /usr/local/lib/libbeidpkcs11.* /usr/lib/


# EXTRA info on adding libraries to the /usr/local/lib path:

Set this at shell for temporary use or add to the shell initialization file for permanent effect:

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib


Adjust ldconfig and rebuild cache
Open the /etc/ as sudo and add a new line with the library directory. In this case, we add /usr/local/lib.

Rerun ldconfig to rebuild the cache:

sudo ldconfig

Check if the shared library cache now includes the shared libraries from the new directory:

ldconfig -p