How To Install tpm2-tss-devel on CentOS 8
Introduction
In this tutorial we learn how to install tpm2-tss-devel
on CentOS 8.
What is tpm2-tss-devel
This package contains headers and libraries required to build applications that use tpm2-tss. tpm2-tss-devel 2.3.2 3.el8 x86_64 242 k tpm2-tss-2.3.2-3.el8.src.rpm baseos Headers and libraries for building apps that use tpm2-tss https BSD This package contains headers and libraries required to build applications that use tpm2-tss.
We can use yum
or dnf
to install tpm2-tss-devel
on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install tpm2-tss-devel.
Install tpm2-tss-devel on CentOS 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install tpm2-tss-devel
using dnf
by running the following command:
sudo dnf -y install tpm2-tss-devel
Install tpm2-tss-devel on CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install tpm2-tss-devel
using yum
by running the following command:
sudo yum -y install tpm2-tss-devel
How To Uninstall tpm2-tss-devel on CentOS 8
To uninstall only the tpm2-tss-devel
package we can use the following command:
sudo dnf remove tpm2-tss-devel
tpm2-tss-devel Package Contents on CentOS 8
/usr/include/tss2
/usr/include/tss2/tss2_common.h
/usr/include/tss2/tss2_esys.h
/usr/include/tss2/tss2_mu.h
/usr/include/tss2/tss2_rc.h
/usr/include/tss2/tss2_sys.h
/usr/include/tss2/tss2_tcti.h
/usr/include/tss2/tss2_tcti_device.h
/usr/include/tss2/tss2_tcti_mssim.h
/usr/include/tss2/tss2_tctildr.h
/usr/include/tss2/tss2_tpm2_types.h
/usr/lib/libtss2-esys.so
/usr/lib/libtss2-mu.so
/usr/lib/libtss2-rc.so
/usr/lib/libtss2-sys.so
/usr/lib/libtss2-tcti-default.so
/usr/lib/libtss2-tcti-device.so
/usr/lib/libtss2-tcti-mssim.so
/usr/lib/libtss2-tctildr.so
/usr/lib/pkgconfig/tss2-esys.pc
/usr/lib/pkgconfig/tss2-mu.pc
/usr/lib/pkgconfig/tss2-rc.pc
/usr/lib/pkgconfig/tss2-sys.pc
/usr/lib/pkgconfig/tss2-tcti-device.pc
/usr/lib/pkgconfig/tss2-tcti-mssim.pc
/usr/lib/pkgconfig/tss2-tctildr.pc
/usr/share/man/man3/ESYS_CONTEXT.3.gz
/usr/share/man/man3/ESYS_TR.3.gz
/usr/share/man/man3/ESYS_TR_defines.3.gz
/usr/share/man/man3/Esys_ActivateCredential.3.gz
/usr/share/man/man3/Esys_Certify.3.gz
/usr/share/man/man3/Esys_CertifyCreation.3.gz
/usr/share/man/man3/Esys_ChangeEPS.3.gz
/usr/share/man/man3/Esys_ChangePPS.3.gz
/usr/share/man/man3/Esys_Clear.3.gz
/usr/share/man/man3/Esys_ClearControl.3.gz
/usr/share/man/man3/Esys_ClockRateAdjust.3.gz
/usr/share/man/man3/Esys_ClockSet.3.gz
/usr/share/man/man3/Esys_Commit.3.gz
/usr/share/man/man3/Esys_ContextLoad.3.gz
/usr/share/man/man3/Esys_ContextSave.3.gz
/usr/share/man/man3/Esys_Create.3.gz
/usr/share/man/man3/Esys_CreatePrimary.3.gz
/usr/share/man/man3/Esys_DictionaryAttackLockReset.3.gz
/usr/share/man/man3/Esys_DictionaryAttackParameters.3.gz
/usr/share/man/man3/Esys_Duplicate.3.gz
/usr/share/man/man3/Esys_ECC_Parameters.3.gz
/usr/share/man/man3/Esys_ECDH_KeyGen.3.gz
/usr/share/man/man3/Esys_ECDH_ZGen.3.gz
/usr/share/man/man3/Esys_EC_Ephemeral.3.gz
/usr/share/man/man3/Esys_EncryptDecrypt.3.gz
/usr/share/man/man3/Esys_EventSequenceComplete.3.gz
/usr/share/man/man3/Esys_EvictControl.3.gz
/usr/share/man/man3/Esys_FlushContext.3.gz
/usr/share/man/man3/Esys_GetCapability.3.gz
/usr/share/man/man3/Esys_GetCommandAuditDigest.3.gz
/usr/share/man/man3/Esys_GetRandom.3.gz
/usr/share/man/man3/Esys_GetSessionAuditDigest.3.gz
/usr/share/man/man3/Esys_GetTestResult.3.gz
/usr/share/man/man3/Esys_GetTime.3.gz
/usr/share/man/man3/Esys_HMAC.3.gz
/usr/share/man/man3/Esys_HMAC_Start.3.gz
/usr/share/man/man3/Esys_Hash.3.gz
/usr/share/man/man3/Esys_HashSequenceStart.3.gz
/usr/share/man/man3/Esys_HierarchyChangeAuth.3.gz
/usr/share/man/man3/Esys_HierarchyControl.3.gz
/usr/share/man/man3/Esys_Import.3.gz
/usr/share/man/man3/Esys_IncrementalSelfTest.3.gz
/usr/share/man/man3/Esys_Load.3.gz
/usr/share/man/man3/Esys_LoadExternal.3.gz
/usr/share/man/man3/Esys_MakeCredential.3.gz
/usr/share/man/man3/Esys_NV_Certify.3.gz
/usr/share/man/man3/Esys_NV_ChangeAuth.3.gz
/usr/share/man/man3/Esys_NV_DefineSpace.3.gz
/usr/share/man/man3/Esys_NV_Extend.3.gz
/usr/share/man/man3/Esys_NV_GlobalWriteLock.3.gz
/usr/share/man/man3/Esys_NV_Increment.3.gz
/usr/share/man/man3/Esys_NV_Read.3.gz
/usr/share/man/man3/Esys_NV_ReadLock.3.gz
/usr/share/man/man3/Esys_NV_ReadPublic.3.gz
/usr/share/man/man3/Esys_NV_SetBits.3.gz
/usr/share/man/man3/Esys_NV_UndefineSpace.3.gz
/usr/share/man/man3/Esys_NV_UndefineSpaceSpecial.3.gz
/usr/share/man/man3/Esys_NV_Write.3.gz
/usr/share/man/man3/Esys_NV_WriteLock.3.gz
/usr/share/man/man3/Esys_ObjectChangeAuth.3.gz
/usr/share/man/man3/Esys_PCR_Allocate.3.gz
/usr/share/man/man3/Esys_PCR_Event.3.gz
/usr/share/man/man3/Esys_PCR_Extend.3.gz
/usr/share/man/man3/Esys_PCR_Read.3.gz
/usr/share/man/man3/Esys_PCR_Reset.3.gz
/usr/share/man/man3/Esys_PCR_SetAuthPolicy.3.gz
/usr/share/man/man3/Esys_PCR_SetAuthValue.3.gz
/usr/share/man/man3/Esys_PP_Commands.3.gz
/usr/share/man/man3/Esys_PolicyAuthValue.3.gz
/usr/share/man/man3/Esys_PolicyAuthorize.3.gz
/usr/share/man/man3/Esys_PolicyCommandCode.3.gz
/usr/share/man/man3/Esys_PolicyCounterTimer.3.gz
/usr/share/man/man3/Esys_PolicyCpHash.3.gz
/usr/share/man/man3/Esys_PolicyDuplicationSelect.3.gz
/usr/share/man/man3/Esys_PolicyGetDigest.3.gz
/usr/share/man/man3/Esys_PolicyLocality.3.gz
/usr/share/man/man3/Esys_PolicyNV.3.gz
/usr/share/man/man3/Esys_PolicyNameHash.3.gz
/usr/share/man/man3/Esys_PolicyNvWritten.3.gz
/usr/share/man/man3/Esys_PolicyOR.3.gz
/usr/share/man/man3/Esys_PolicyPCR.3.gz
/usr/share/man/man3/Esys_PolicyPassword.3.gz
/usr/share/man/man3/Esys_PolicyPhysicalPresence.3.gz
/usr/share/man/man3/Esys_PolicyRestart.3.gz
/usr/share/man/man3/Esys_PolicySecret.3.gz
/usr/share/man/man3/Esys_PolicySigned.3.gz
/usr/share/man/man3/Esys_PolicyTicket.3.gz
/usr/share/man/man3/Esys_Quote.3.gz
/usr/share/man/man3/Esys_RSA_Decrypt.3.gz
/usr/share/man/man3/Esys_RSA_Encrypt.3.gz
/usr/share/man/man3/Esys_ReadClock.3.gz
/usr/share/man/man3/Esys_ReadPublic.3.gz
/usr/share/man/man3/Esys_Rewrap.3.gz
/usr/share/man/man3/Esys_SelfTest.3.gz
/usr/share/man/man3/Esys_SequenceComplete.3.gz
/usr/share/man/man3/Esys_SequenceUpdate.3.gz
/usr/share/man/man3/Esys_SetAlgorithmSet.3.gz
/usr/share/man/man3/Esys_SetCommandCodeAuditStatus.3.gz
/usr/share/man/man3/Esys_SetPrimaryPolicy.3.gz
/usr/share/man/man3/Esys_Shutdown.3.gz
/usr/share/man/man3/Esys_Sign.3.gz
/usr/share/man/man3/Esys_StartAuthSession.3.gz
/usr/share/man/man3/Esys_Startup.3.gz
/usr/share/man/man3/Esys_StirRandom.3.gz
/usr/share/man/man3/Esys_TestParms.3.gz
/usr/share/man/man3/Esys_Unseal.3.gz
/usr/share/man/man3/Esys_Vendor_TCG_Test.3.gz
/usr/share/man/man3/Esys_VerifySignature.3.gz
/usr/share/man/man3/Esys_ZGen_2Phase.3.gz
/usr/share/man/man3/Tss2_TctiLdr_Finalize.3.gz
/usr/share/man/man3/Tss2_TctiLdr_FreeInfo.3.gz
/usr/share/man/man3/Tss2_TctiLdr_GetInfo.3.gz
/usr/share/man/man3/Tss2_TctiLdr_Initialize.3.gz
/usr/share/man/man3/Tss2_TctiLdr_Initialize_Ex.3.gz
/usr/share/man/man3/Tss2_Tcti_Device_Init.3.gz
/usr/share/man/man3/Tss2_Tcti_Mssim_Init.3.gz
/usr/share/man/man7/tss2-tcti-device.7.gz
/usr/share/man/man7/tss2-tcti-mssim.7.gz
/usr/share/man/man7/tss2-tctildr.7.gz
/usr/include/tss2
/usr/include/tss2/tss2_common.h
/usr/include/tss2/tss2_esys.h
/usr/include/tss2/tss2_mu.h
/usr/include/tss2/tss2_rc.h
/usr/include/tss2/tss2_sys.h
/usr/include/tss2/tss2_tcti.h
/usr/include/tss2/tss2_tcti_device.h
/usr/include/tss2/tss2_tcti_mssim.h
/usr/include/tss2/tss2_tctildr.h
/usr/include/tss2/tss2_tpm2_types.h
/usr/lib64/libtss2-esys.so
/usr/lib64/libtss2-mu.so
/usr/lib64/libtss2-rc.so
/usr/lib64/libtss2-sys.so
/usr/lib64/libtss2-tcti-default.so
/usr/lib64/libtss2-tcti-device.so
/usr/lib64/libtss2-tcti-mssim.so
/usr/lib64/libtss2-tctildr.so
/usr/lib64/pkgconfig/tss2-esys.pc
/usr/lib64/pkgconfig/tss2-mu.pc
/usr/lib64/pkgconfig/tss2-rc.pc
/usr/lib64/pkgconfig/tss2-sys.pc
/usr/lib64/pkgconfig/tss2-tcti-device.pc
/usr/lib64/pkgconfig/tss2-tcti-mssim.pc
/usr/lib64/pkgconfig/tss2-tctildr.pc
/usr/share/man/man3/ESYS_CONTEXT.3.gz
/usr/share/man/man3/ESYS_TR.3.gz
/usr/share/man/man3/ESYS_TR_defines.3.gz
/usr/share/man/man3/Esys_ActivateCredential.3.gz
/usr/share/man/man3/Esys_Certify.3.gz
/usr/share/man/man3/Esys_CertifyCreation.3.gz
/usr/share/man/man3/Esys_ChangeEPS.3.gz
/usr/share/man/man3/Esys_ChangePPS.3.gz
/usr/share/man/man3/Esys_Clear.3.gz
/usr/share/man/man3/Esys_ClearControl.3.gz
/usr/share/man/man3/Esys_ClockRateAdjust.3.gz
/usr/share/man/man3/Esys_ClockSet.3.gz
/usr/share/man/man3/Esys_Commit.3.gz
/usr/share/man/man3/Esys_ContextLoad.3.gz
/usr/share/man/man3/Esys_ContextSave.3.gz
/usr/share/man/man3/Esys_Create.3.gz
/usr/share/man/man3/Esys_CreatePrimary.3.gz
/usr/share/man/man3/Esys_DictionaryAttackLockReset.3.gz
/usr/share/man/man3/Esys_DictionaryAttackParameters.3.gz
/usr/share/man/man3/Esys_Duplicate.3.gz
/usr/share/man/man3/Esys_ECC_Parameters.3.gz
/usr/share/man/man3/Esys_ECDH_KeyGen.3.gz
/usr/share/man/man3/Esys_ECDH_ZGen.3.gz
/usr/share/man/man3/Esys_EC_Ephemeral.3.gz
/usr/share/man/man3/Esys_EncryptDecrypt.3.gz
/usr/share/man/man3/Esys_EventSequenceComplete.3.gz
/usr/share/man/man3/Esys_EvictControl.3.gz
/usr/share/man/man3/Esys_FlushContext.3.gz
/usr/share/man/man3/Esys_GetCapability.3.gz
/usr/share/man/man3/Esys_GetCommandAuditDigest.3.gz
/usr/share/man/man3/Esys_GetRandom.3.gz
/usr/share/man/man3/Esys_GetSessionAuditDigest.3.gz
/usr/share/man/man3/Esys_GetTestResult.3.gz
/usr/share/man/man3/Esys_GetTime.3.gz
/usr/share/man/man3/Esys_HMAC.3.gz
/usr/share/man/man3/Esys_HMAC_Start.3.gz
/usr/share/man/man3/Esys_Hash.3.gz
/usr/share/man/man3/Esys_HashSequenceStart.3.gz
/usr/share/man/man3/Esys_HierarchyChangeAuth.3.gz
/usr/share/man/man3/Esys_HierarchyControl.3.gz
/usr/share/man/man3/Esys_Import.3.gz
/usr/share/man/man3/Esys_IncrementalSelfTest.3.gz
/usr/share/man/man3/Esys_Load.3.gz
/usr/share/man/man3/Esys_LoadExternal.3.gz
/usr/share/man/man3/Esys_MakeCredential.3.gz
/usr/share/man/man3/Esys_NV_Certify.3.gz
/usr/share/man/man3/Esys_NV_ChangeAuth.3.gz
/usr/share/man/man3/Esys_NV_DefineSpace.3.gz
/usr/share/man/man3/Esys_NV_Extend.3.gz
/usr/share/man/man3/Esys_NV_GlobalWriteLock.3.gz
/usr/share/man/man3/Esys_NV_Increment.3.gz
/usr/share/man/man3/Esys_NV_Read.3.gz
/usr/share/man/man3/Esys_NV_ReadLock.3.gz
/usr/share/man/man3/Esys_NV_ReadPublic.3.gz
/usr/share/man/man3/Esys_NV_SetBits.3.gz
/usr/share/man/man3/Esys_NV_UndefineSpace.3.gz
/usr/share/man/man3/Esys_NV_UndefineSpaceSpecial.3.gz
/usr/share/man/man3/Esys_NV_Write.3.gz
/usr/share/man/man3/Esys_NV_WriteLock.3.gz
/usr/share/man/man3/Esys_ObjectChangeAuth.3.gz
/usr/share/man/man3/Esys_PCR_Allocate.3.gz
/usr/share/man/man3/Esys_PCR_Event.3.gz
/usr/share/man/man3/Esys_PCR_Extend.3.gz
/usr/share/man/man3/Esys_PCR_Read.3.gz
/usr/share/man/man3/Esys_PCR_Reset.3.gz
/usr/share/man/man3/Esys_PCR_SetAuthPolicy.3.gz
/usr/share/man/man3/Esys_PCR_SetAuthValue.3.gz
/usr/share/man/man3/Esys_PP_Commands.3.gz
/usr/share/man/man3/Esys_PolicyAuthValue.3.gz
/usr/share/man/man3/Esys_PolicyAuthorize.3.gz
/usr/share/man/man3/Esys_PolicyCommandCode.3.gz
/usr/share/man/man3/Esys_PolicyCounterTimer.3.gz
/usr/share/man/man3/Esys_PolicyCpHash.3.gz
/usr/share/man/man3/Esys_PolicyDuplicationSelect.3.gz
/usr/share/man/man3/Esys_PolicyGetDigest.3.gz
/usr/share/man/man3/Esys_PolicyLocality.3.gz
/usr/share/man/man3/Esys_PolicyNV.3.gz
/usr/share/man/man3/Esys_PolicyNameHash.3.gz
/usr/share/man/man3/Esys_PolicyNvWritten.3.gz
/usr/share/man/man3/Esys_PolicyOR.3.gz
/usr/share/man/man3/Esys_PolicyPCR.3.gz
/usr/share/man/man3/Esys_PolicyPassword.3.gz
/usr/share/man/man3/Esys_PolicyPhysicalPresence.3.gz
/usr/share/man/man3/Esys_PolicyRestart.3.gz
/usr/share/man/man3/Esys_PolicySecret.3.gz
/usr/share/man/man3/Esys_PolicySigned.3.gz
/usr/share/man/man3/Esys_PolicyTicket.3.gz
/usr/share/man/man3/Esys_Quote.3.gz
/usr/share/man/man3/Esys_RSA_Decrypt.3.gz
/usr/share/man/man3/Esys_RSA_Encrypt.3.gz
/usr/share/man/man3/Esys_ReadClock.3.gz
/usr/share/man/man3/Esys_ReadPublic.3.gz
/usr/share/man/man3/Esys_Rewrap.3.gz
/usr/share/man/man3/Esys_SelfTest.3.gz
/usr/share/man/man3/Esys_SequenceComplete.3.gz
/usr/share/man/man3/Esys_SequenceUpdate.3.gz
/usr/share/man/man3/Esys_SetAlgorithmSet.3.gz
/usr/share/man/man3/Esys_SetCommandCodeAuditStatus.3.gz
/usr/share/man/man3/Esys_SetPrimaryPolicy.3.gz
/usr/share/man/man3/Esys_Shutdown.3.gz
/usr/share/man/man3/Esys_Sign.3.gz
/usr/share/man/man3/Esys_StartAuthSession.3.gz
/usr/share/man/man3/Esys_Startup.3.gz
/usr/share/man/man3/Esys_StirRandom.3.gz
/usr/share/man/man3/Esys_TestParms.3.gz
/usr/share/man/man3/Esys_Unseal.3.gz
/usr/share/man/man3/Esys_Vendor_TCG_Test.3.gz
/usr/share/man/man3/Esys_VerifySignature.3.gz
/usr/share/man/man3/Esys_ZGen_2Phase.3.gz
/usr/share/man/man3/Tss2_TctiLdr_Finalize.3.gz
/usr/share/man/man3/Tss2_TctiLdr_FreeInfo.3.gz
/usr/share/man/man3/Tss2_TctiLdr_GetInfo.3.gz
/usr/share/man/man3/Tss2_TctiLdr_Initialize.3.gz
/usr/share/man/man3/Tss2_TctiLdr_Initialize_Ex.3.gz
/usr/share/man/man3/Tss2_Tcti_Device_Init.3.gz
/usr/share/man/man3/Tss2_Tcti_Mssim_Init.3.gz
/usr/share/man/man7/tss2-tcti-device.7.gz
/usr/share/man/man7/tss2-tcti-mssim.7.gz
/usr/share/man/man7/tss2-tctildr.7.gz
References
- [tpm2-tss-devel website](https://github.com/tpm2-software/tpm2-tss https://github.com/tpm2-software/tpm2-tss)
Summary
In this tutorial we learn how to install tpm2-tss-devel
on CentOS 8 using yum and dnf.