How To Install nss-pkcs11-devel.x86_64 on Amazon Linux 2

In this tutorial we learn how to install nss-pkcs11-devel.x86_64 in Amazon Linux 2. nss-pkcs11-devel.x86_64 is Development libraries for PKCS #11 (Cryptoki) using NSS

Introduction

In this tutorial we learn how to install nss-pkcs11-devel.x86_64 on Amazon Linux 2.

What is nss-pkcs11-devel.x86_64

Library files for developing PKCS #11 modules using basic NSS low level services.

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

Install nss-pkcs11-devel.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 nss-pkcs11-devel.x86_64 using yum by running the following command:

sudo yum -y install nss-pkcs11-devel.x86_64

How To Uninstall nss-pkcs11-devel.x86_64 on Amazon Linux 2

To uninstall only the nss-pkcs11-devel.x86_64 package we can use the following command:

sudo yum remove nss-pkcs11-devel.x86_64

nss-pkcs11-devel.x86_64 Package Contents on Amazon Linux 2

/usr/include/nss3/nssbase.h
/usr/include/nss3/nssbaset.h
/usr/include/nss3/nssckepv.h
/usr/include/nss3/nssckft.h
/usr/include/nss3/nssckfw.h
/usr/include/nss3/nssckfwc.h
/usr/include/nss3/nssckfwt.h
/usr/include/nss3/nssckg.h
/usr/include/nss3/nssckmdt.h
/usr/include/nss3/nssckt.h
/usr/include/nss3/templates/nssck.api
/usr/lib64/libnssb.a
/usr/lib64/libnssckfw.a

References

Summary

In this tutorial we learn how to install nss-pkcs11-devel.x86_64 on Amazon Linux 2 using yum.