How To Install p11-kit-trust.x86_64 on Amazon Linux 2

In this tutorial we learn how to install p11-kit-trust.x86_64 in Amazon Linux 2. p11-kit-trust.x86_64 is System trust module from p11-kit

Introduction

In this tutorial we learn how to install p11-kit-trust.x86_64 on Amazon Linux 2.

What is p11-kit-trust.x86_64

The p11-kit-trust package contains a system trust PKCS#11 module which contains certificate anchors and black lists.

We can use yum to install p11-kit-trust.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install p11-kit-trust.x86_64.

Install p11-kit-trust.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install p11-kit-trust.x86_64 using yum by running the following command:

sudo yum -y install p11-kit-trust.x86_64

How To Uninstall p11-kit-trust.x86_64 on Amazon Linux 2

To uninstall only the p11-kit-trust.x86_64 package we can use the following command:

sudo yum remove p11-kit-trust.x86_64

p11-kit-trust.x86_64 Package Contents on Amazon Linux 2

/usr/bin/trust
/usr/lib64/libnssckbi.so
/usr/lib64/pkcs11
/usr/lib64/pkcs11/p11-kit-trust.so
/usr/libexec/p11-kit/trust-extract-compat
/usr/share/bash-completion/completions/trust
/usr/share/p11-kit/modules/p11-kit-trust.module

References

Summary

In this tutorial we learn how to install p11-kit-trust.x86_64 on Amazon Linux 2 using yum.