How To Install libtpms-devel on Rocky Linux 8

In this tutorial we learn how to install libtpms-devel on Rocky Linux 8. libtpms-devel is Include files for libtpms

Introduction

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

What is libtpms-devel

Libtpms header files and documentation.

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

Install libtpms-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 libtpms-devel using dnf by running the following command:

sudo dnf -y install libtpms-devel

Install libtpms-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 libtpms-devel using yum by running the following command:

sudo yum -y install libtpms-devel

How To Uninstall libtpms-devel on Rocky Linux 8

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

sudo dnf remove libtpms-devel

libtpms-devel Package Contents on Rocky Linux 8

/usr/include/libtpms
/usr/include/libtpms/tpm_error.h
/usr/include/libtpms/tpm_library.h
/usr/include/libtpms/tpm_memory.h
/usr/include/libtpms/tpm_nvfilename.h
/usr/include/libtpms/tpm_tis.h
/usr/include/libtpms/tpm_types.h
/usr/lib64/libtpms.so
/usr/lib64/pkgconfig/libtpms.pc
/usr/share/man/man3/TPMLIB_CancelCommand.3.gz
/usr/share/man/man3/TPMLIB_ChooseTPMVersion.3.gz
/usr/share/man/man3/TPMLIB_DecodeBlob.3.gz
/usr/share/man/man3/TPMLIB_GetInfo.3.gz
/usr/share/man/man3/TPMLIB_GetState.3.gz
/usr/share/man/man3/TPMLIB_GetTPMProperty.3.gz
/usr/share/man/man3/TPMLIB_GetVersion.3.gz
/usr/share/man/man3/TPMLIB_MainInit.3.gz
/usr/share/man/man3/TPMLIB_Process.3.gz
/usr/share/man/man3/TPMLIB_RegisterCallbacks.3.gz
/usr/share/man/man3/TPMLIB_SetBufferSize.3.gz
/usr/share/man/man3/TPMLIB_SetDebugFD.3.gz
/usr/share/man/man3/TPMLIB_SetDebugLevel.3.gz
/usr/share/man/man3/TPMLIB_SetDebugPrefix.3.gz
/usr/share/man/man3/TPMLIB_SetState.3.gz
/usr/share/man/man3/TPMLIB_Terminate.3.gz
/usr/share/man/man3/TPMLIB_ValidateState.3.gz
/usr/share/man/man3/TPMLIB_VolatileAll_Store.3.gz
/usr/share/man/man3/TPM_Free.3.gz
/usr/share/man/man3/TPM_IO_Hash_Data.3.gz
/usr/share/man/man3/TPM_IO_Hash_End.3.gz
/usr/share/man/man3/TPM_IO_Hash_Start.3.gz
/usr/share/man/man3/TPM_IO_TpmEstablished_Get.3.gz
/usr/share/man/man3/TPM_IO_TpmEstablished_Reset.3.gz
/usr/share/man/man3/TPM_Malloc.3.gz
/usr/share/man/man3/TPM_Realloc.3.gz

References

Summary

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