Follow the procedure below to use your eID in combination with Linux.
Installing the eID software for Linux involves two steps:
- Install the "eid-archive" package, enabling the eID package repositories.
- Install the "eid-viewer" and/or "eid-mw" packages in the usual way for your distribution. This may require you to first perform an update of the indexes (e.g. using "apt-get update").
Supported distributions and versions:
- Debian 7 "Wheezy", Debian 8 "Jessie", Ubuntu 14.04 LTS "Trusty Tahr", Ubuntu 16.04 "Xenial Xerus", Linux Mint 17.3 "Rosa": eid-archive.deb
- Fedora 23, Fedora 24: eid-archive-fedora.rpm
- Red Hat Enterprise Linux 6 "Santiago", Red Hat Enterprise Linux 7 "Maipo" and similar distributions, such as CentOS: eid-archive-epel.rpm
- openSUSE 13.2 "Harlequin", openSUSE Leap 42.1: eid-archive-suse.rpm
For unsupported distributions, you can compile the software yourself using the source code:
All packages and repositories are digitally signed by the OpenPGP key with the following fingerprint:
B37D 9040 098C 3DEE E00F 6D08 A357 43EA 6773 D225
We recommend that you do not install any packages which are not signed by that key. If you use the correct "eid-archive" package for your distribution, the correct key will be automatically configured and you shouldn't need to worry.
If reading the card fails, check whether the correct driver is installed. The "FAQ (FR)" section explains how to check this.
Installing the 32-bit middleware
The above instructions will install the eID middleware for the native architecture of the system (32- or 64-bit). If you are using a 64-bit system, but want to access the middleware from a 32-bit application, you will need to do the following:
- Install the 64-bit middleware. When you are working on a 64-bit system, the 32-bit middleware cannot function without the 64-bit version.
- (only for Debian, Ubuntu, and Linux Mint): enable “multi-arch”, if this has not been done before:
sudo dpkg --add-architecture i386
sudo apt-get update
- Install the package containing the 32-bit versions of the library components of the middleware. For technical reasons, the name of this package depends on the distribution you're using:
- Debian, Ubuntu, Linux Mint: install the package libbeidpkcs11-0:i386
- Fedora, Red Hat Enterprise Linux, CentOS: install the package eid-mw-libs.i686. Note that there is no 32-bit version of Red Hat (or CentOS) 7; for this reason, it is not possible to install the 32-bit version of the middleware on these distributions.
- OpenSUSE: install the package eid-mw-libs-32bit
The middleware should now be available in the 32-bit as well as the 64-bit version. You may verify this by running the application about-eid-mw; under the header “32-bit PKCS#11 location”, you will find the file name of the middleware module, which you can enter in your 32-bit application.