How To Install tpm-tools-devel on CentOS 7

In this tutorial we learn how to install tpm-tools-devel on CentOS 7. 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 CentOS 7.

What is tpm-tools-devel

tpm-tools-devel is a package that contains the libraries and headers necessary for developing tpm-tools applications. 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 CentOS 7. 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 CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install tpm-tools-devel

Install tpm-tools-devel on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

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

sudo dnf -y install tpm-tools-devel

How To Uninstall tpm-tools-devel on CentOS 7

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

sudo dnf remove tpm-tools-devel

References

Summary

In this tutorial we learn how to install tpm-tools-devel on CentOS 7 using yum and dnf.