Skip to main content

Installation

Supported Platforms

  • Linux

    • RHEL 9/8/7 x64, CentOS (8)/7 x64, Oracle Linux 9/8/7 x64
    • Ubuntu 24/22/20/18/16 x64
    • Debian 12/11/10/9/8 x64
    • SUSE Linux Enterprise Server SLES15/12 (x64)
    • other OS available upon request
  • Microsoft Windows

    • Windows 7 x64/x32 or newer
    • Windows Server 2012R2 or newer

Library Requirements

  • Linux (GLIBC/GLIBCXX): latest gcc-runtime and g++ runtime libraries of the distribution

  • Windows: Visual C++ Redistributable Packages for Visual Studio 2015

Packages

The following table shows which package is to be used for the different OS platforms:

Packagefor Platform (all 64-bit except Win32)
PrimusAPI_PKCS11-X-2.x.y-debian10-aarch64.debUbuntu 22/20, Debian 11/10 (ARM-64)
PrimusAPI_PKCS11-X-2.x.y-debian10-x86_64.debUbuntu 22/20, Debian 11/10 (x86_64)
PrimusAPI_PKCS11-X-2.x.y-rhel7-aarch64.rpmRHEL/CentOS 7 (ARM-64)
PrimusAPI_PKCS11-X-2.x.y-rhel7-x86_64.rpmRHEL/CentOS 7 (x86_64)
PrimusAPI_PKCS11-X-2.x.y-rhel8-aarch64.rpmRHEL/CentOS 8 (ARM-64)
PrimusAPI_PKCS11-X-2.x.y-rhel8-x86_64.rpmRHEL/CentOS 8 (x86_64)
PrimusAPI_PKCS11-X-2.x.y-rhel7-aarch64.tar.gzRHEL/CentOS 7, Ubuntu 16, Debian 8, SLES12 (ARM-64)
PrimusAPI_PKCS11-X-2.x.y-rhel7-x86_64.tar.gzRHEL/CentOS 7, Ubuntu 16, Debian 8, SLES12 (x86_64)
PrimusAPI_PKCS11-X-2.x.y-rhel8-aarch64.tar.gzRHEL/CentOS 8, Ubuntu 22/20/18, Debian 11/10/9, SLES15 or newer (ARM-64)
PrimusAPI_PKCS11-X-2.x.y-rhel8-x86_64.tar.gzRHEL/CentOS 8, Ubuntu 22/20/18, Debian 11/10/9, SLES15 or newer (x86_64)
PrimusAPI_PKCS11-X-2.x.y-win64.msiWindows 7 and newer, Windows Server 2012R2 and newer
PrimusAPI_PKCS11-X-2.x.y-win32.msiWindows 7 and Windows Server 2012R2 and newer

Choose the package that fits your distribution and architecture. Then use the system's package manager to install it.

RHEL/CentOS

rpm install ./PrimusAPI_PKCS11-X-*.rpm

Ubuntu/Debian

apt install ./PrimusAPI_PKCS11-X-*.deb

If the configuration files in /etc/primus exist and they are different from the ones shipped with the package, the package manager will ask you if you want to keep your current configuration.

The $PRIMUS_HOME is located at /usr/local/primus. The ppin tool and the test scripts can be found in $PRIMUS_HOME/bin.

tip

While setting up the provider you need to access the ppin tool and the test scripts (possibly multiple times). Typing the full path to the tool can be tedious. You can avoid this by adding the $PRIMUS_HOME/bin directory to your PATH variable.

export PRIMUS_HOME=/usr/local/primus
export PATH=$PRIMUS_HOME/bin:$PATH