pkcsstats command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
pkcsstats: command not found
or when using sudo you get the following error message
sudo: pkcsstats: command not found
Solutions to pkcsstats: command not found
How To Fix pkcsstats: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu pkcsstats is provided by opencryptoki package.
opencryptoki is:
openCryptoki is a PKCS#11 Cryptographic Token Interface Standard implementation. It includes drivers and libraries to enable IBM cryptographic hardware such as Trusted Computing Platform (TPM) cryptographic devices as well as a software token for testing.
This package contains the daemon.
To fix this problem, we can install more using the command below.
sudo apt-get -y install opencryptoki
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install opencryptoki.
sudo apt -y install opencryptoki
Or if you have aptitude installed you can use the following command.
sudo aptitude install opencryptoki
Summary
In this tutorial we learn how to fix pkcsstats command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.