trust command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
trust: command not found
or when using sudo you get the following error message
sudo: trust: command not found
Solutions to trust: command not found
How To Fix trust: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu trust is provided by p11-kit package.
p11-kit is:
The p11-kit library provides a way to load and enumerate Public-Key Cryptography Standard #11 modules, along with a standard configuration setup for installing PKCS#11 modules so that they’re discoverable. It also solves problems with coordinating the use of PKCS#11 by different components or libraries living in the same process.
This package contains the p11-kit tool for listing PKCS#11 modules.
To fix this problem, we can install more using the command below.
sudo apt-get -y install p11-kit
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install p11-kit.
sudo apt -y install p11-kit
Or if you have aptitude installed you can use the following command.
sudo aptitude install p11-kit
Summary
In this tutorial we learn how to fix trust command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.