Preparing libzpc for use

The standard way to exploit the functions of libzpc is to obtain and install the libzpc package from your distribution provider.

The libzpc software is available as an RPM or DEB package named libzpc (for Red Hat) or libzpc1 (for Ubuntu and SUSE) within your distribution package.

See your Linux® distribution documentation for how to install an RPM or DEB package.

To check whether the libzpc library is installed, issue:

# rpm -qa | grep -i libzpc /* for Redhat and SUSE */ 
# dpkg -l | grep -i libzpc /* for Ubuntu */

For exploiting the libzpc elliptic curve cryptography (ECC) features, further prerequisites as described in Prerequisites for ECC must be fulfilled.

For developing or proof-of-concept use cases, you may prefer to install libzpc from the source package manually.

The libzpc source is hosted on GitHub:

https://github.com/opencryptoki/libzpc

As a prerequisite for building the libzpc library, download or clone the required files by selecting one of the methods offered by GitHub. Then read the information in the subtopics of this chapter and also read the detailed information in the provided README.md file.