How To Install tpm-tools-devel on Rocky Linux 8

In this tutorial we learn how to install tpm-tools-devel on Rocky Linux 8. tpm-tools-devel is Files to use the library routines supplied with tpm-tools

Introduction

In this tutorial we learn how to install tpm-tools-devel on Rocky Linux 8.

What is tpm-tools-devel

tpm-tools-devel is a package that contains the libraries and headers necessary for developing tpm-tools applications.

We can use yum or dnf to install tpm-tools-devel on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install tpm-tools-devel.

Install tpm-tools-devel on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install tpm-tools-devel using dnf by running the following command:

sudo dnf -y install tpm-tools-devel

Install tpm-tools-devel on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install tpm-tools-devel using yum by running the following command:

sudo yum -y install tpm-tools-devel

How To Uninstall tpm-tools-devel on Rocky Linux 8

To uninstall only the tpm-tools-devel package we can use the following command:

sudo dnf remove tpm-tools-devel

tpm-tools-devel Package Contents on Rocky Linux 8

/usr/include/tpm_tools
/usr/include/tpm_tools/tpm_unseal.h
/usr/lib/libtpm_unseal.so
/usr/share/man/man3/tpmUnsealFile.3.gz
/usr/share/man/man3/tpmUnsealShred.3.gz
/usr/share/man/man3/tpmUnsealStrerror.3.gz
/usr/include/tpm_tools
/usr/include/tpm_tools/tpm_unseal.h
/usr/lib64/libtpm_unseal.so
/usr/share/man/man3/tpmUnsealFile.3.gz
/usr/share/man/man3/tpmUnsealShred.3.gz
/usr/share/man/man3/tpmUnsealStrerror.3.gz

References

Summary

In this tutorial we learn how to install tpm-tools-devel on Rocky Linux 8 using yum and dnf.