How To Install tpm-tools on Rocky Linux 8

In this tutorial we learn how to install tpm-tools on Rocky Linux 8. tpm-tools is Management tools for the TPM hardware

Introduction

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

What is tpm-tools

tpm-tools is a group of tools to manage and utilize the Trusted Computing Group’s TPM hardware. TPM hardware can create, store and use RSA keys securely (without ever being exposed in memory), verify a platform’s software state using cryptographic hashes and more.

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

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

sudo dnf -y install tpm-tools

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

sudo yum -y install tpm-tools

How To Uninstall tpm-tools on Rocky Linux 8

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

sudo dnf remove tpm-tools

tpm-tools Package Contents on Rocky Linux 8

/usr/bin/tpm_sealdata
/usr/bin/tpm_unsealdata
/usr/lib/.build-id
/usr/lib/.build-id/00
/usr/lib/.build-id/00/894d253cd56bd57da8931866c69e6168a7d5d7
/usr/lib/.build-id/08
/usr/lib/.build-id/08/c9e1e00b0d255ac02040de8e6305db0884c029
/usr/lib/.build-id/09
/usr/lib/.build-id/09/4dad56b53a3e2ff629c00c6d242d1666e1f3cb
/usr/lib/.build-id/0a
/usr/lib/.build-id/0a/50302483fb8eae7e9cbbe507746c3c0040716c
/usr/lib/.build-id/0b
/usr/lib/.build-id/0b/bcf10b687c3a24bbbd6d5147c8914d25d78863
/usr/lib/.build-id/13
/usr/lib/.build-id/13/ec124dc30e65685692d49abe3b28bac5a0ce52
/usr/lib/.build-id/1a
/usr/lib/.build-id/1a/fcc371f08a883f42c0c65abf569ef4ebc43b69
/usr/lib/.build-id/2f
/usr/lib/.build-id/2f/a8a720154b4e8bbdec61df7dbdfe62ead1b5d9
/usr/lib/.build-id/2f/d332eaabc162046aaed001a62175957f77dfc3
/usr/lib/.build-id/36
/usr/lib/.build-id/36/5fa6ebe51112a99afe63a8cfd5bfbc0e7b0fef
/usr/lib/.build-id/37
/usr/lib/.build-id/37/0108bc944449c7f882dc8d8bd90998d0bb4ad8
/usr/lib/.build-id/38
/usr/lib/.build-id/38/2d7ce094b73f8b0ad670af5fc206be66b9041d
/usr/lib/.build-id/42
/usr/lib/.build-id/42/c226b0dd0a4e0e69231e802a78981ec783506e
/usr/lib/.build-id/51
/usr/lib/.build-id/51/df2ff0935639ce92e631622ddd74ac9c993275
/usr/lib/.build-id/5a
/usr/lib/.build-id/5a/af7fd2d2ea7871e3ba79c79e750e1703dc81fd
/usr/lib/.build-id/5b
/usr/lib/.build-id/5b/54c1a00a14261d99d3c5e8abc54fb2c7032aaa
/usr/lib/.build-id/6a
/usr/lib/.build-id/6a/5c796b0f8fa79f989f07c7ebf172be78e6a3e5
/usr/lib/.build-id/7d
/usr/lib/.build-id/7d/c287f50be42b4c331ef93e20873c0b760ce5c1
/usr/lib/.build-id/94
/usr/lib/.build-id/94/27f5d9c0885ad4dbc8b995a7297b6eba38b966
/usr/lib/.build-id/ad
/usr/lib/.build-id/ad/0d46ca40b19cd1748fb04173b8284045557891
/usr/lib/.build-id/cd
/usr/lib/.build-id/cd/a0fc09baedcf39f6d226a2040f21c96716230f
/usr/lib/.build-id/dc
/usr/lib/.build-id/dc/1348ff9557f687b25bd727cdd1a0a8b852c457
/usr/lib/.build-id/ed
/usr/lib/.build-id/ed/bddbc703aeb91a1dd7398323ad3c6b0efe55c4
/usr/lib/.build-id/f6
/usr/lib/.build-id/f6/c27cc6e2cf106a90565cfeb9cf0faa7ed17d9d
/usr/lib/.build-id/f8
/usr/lib/.build-id/f8/e9fd73a35a2740fb75b376abc48ffe5efddcbb
/usr/lib64/libtpm_unseal.so.1
/usr/lib64/libtpm_unseal.so.1.0.0
/usr/sbin/tpm_changeownerauth
/usr/sbin/tpm_clear
/usr/sbin/tpm_createek
/usr/sbin/tpm_getpubek
/usr/sbin/tpm_nvdefine
/usr/sbin/tpm_nvinfo
/usr/sbin/tpm_nvread
/usr/sbin/tpm_nvrelease
/usr/sbin/tpm_nvwrite
/usr/sbin/tpm_resetdalock
/usr/sbin/tpm_restrictpubek
/usr/sbin/tpm_restrictsrk
/usr/sbin/tpm_revokeek
/usr/sbin/tpm_selftest
/usr/sbin/tpm_setactive
/usr/sbin/tpm_setclearable
/usr/sbin/tpm_setenable
/usr/sbin/tpm_setoperatorauth
/usr/sbin/tpm_setownable
/usr/sbin/tpm_setpresence
/usr/sbin/tpm_takeownership
/usr/sbin/tpm_version
/usr/share/doc/tpm-tools
/usr/share/doc/tpm-tools/README
/usr/share/licenses/tpm-tools
/usr/share/licenses/tpm-tools/LICENSE
/usr/share/man/man1/tpm_sealdata.1.gz
/usr/share/man/man1/tpm_unsealdata.1.gz
/usr/share/man/man1/tpm_version.1.gz
/usr/share/man/man8/tpm_changeownerauth.8.gz
/usr/share/man/man8/tpm_clear.8.gz
/usr/share/man/man8/tpm_createek.8.gz
/usr/share/man/man8/tpm_getpubek.8.gz
/usr/share/man/man8/tpm_nvdefine.8.gz
/usr/share/man/man8/tpm_nvinfo.8.gz
/usr/share/man/man8/tpm_nvread.8.gz
/usr/share/man/man8/tpm_nvrelease.8.gz
/usr/share/man/man8/tpm_nvwrite.8.gz
/usr/share/man/man8/tpm_resetdalock.8.gz
/usr/share/man/man8/tpm_restrictpubek.8.gz
/usr/share/man/man8/tpm_restrictsrk.8.gz
/usr/share/man/man8/tpm_revokeek.8.gz
/usr/share/man/man8/tpm_selftest.8.gz
/usr/share/man/man8/tpm_setactive.8.gz
/usr/share/man/man8/tpm_setclearable.8.gz
/usr/share/man/man8/tpm_setenable.8.gz
/usr/share/man/man8/tpm_setoperatorauth.8.gz
/usr/share/man/man8/tpm_setownable.8.gz
/usr/share/man/man8/tpm_setpresence.8.gz
/usr/share/man/man8/tpm_takeownership.8.gz
/usr/bin/tpm_sealdata
/usr/bin/tpm_unsealdata
/usr/lib/.build-id
/usr/lib/.build-id/01
/usr/lib/.build-id/01/02dd0c4d6ef2cfb80d7123c39b97a45607f27a
/usr/lib/.build-id/1a
/usr/lib/.build-id/1a/f323bd381b77c71a36c75579f1d0af4724641a
/usr/lib/.build-id/2b
/usr/lib/.build-id/2b/a77783a18bca836341e00547d25ea7b18fd424
/usr/lib/.build-id/3d
/usr/lib/.build-id/3d/9c9e76db85de3a7e3e370829d38c98ae07668a
/usr/lib/.build-id/4f
/usr/lib/.build-id/4f/222f6a107caeb3353dbabd8e7c6f99ab343df0
/usr/lib/.build-id/6b
/usr/lib/.build-id/6b/f89f1c328dac4634b834b36621e12cab08f126
/usr/lib/.build-id/76
/usr/lib/.build-id/76/cd0342b1ea1ae36c38dedaf343a836652a1afe
/usr/lib/.build-id/79
/usr/lib/.build-id/79/2520521a1a3ded82cc944ac69ea2c347a86f66
/usr/lib/.build-id/87
/usr/lib/.build-id/87/9c442dd7b6ba79a46512c90c792c7e63291649
/usr/lib/.build-id/8e
/usr/lib/.build-id/8e/9b220b110ac6418e33090d03a3370d7d79564f
/usr/lib/.build-id/97
/usr/lib/.build-id/97/f9eaaed47372151c26544de3c22a5be2335823
/usr/lib/.build-id/99
/usr/lib/.build-id/99/d05d97f4f37aac7dbaa441bd75c613281d8525
/usr/lib/.build-id/a4
/usr/lib/.build-id/a4/98a205b381d8533da04ee5b83e044b2b183b5f
/usr/lib/.build-id/a5
/usr/lib/.build-id/a5/e0bbaad9bae9aff0f4e87ffe317f118e7c1092
/usr/lib/.build-id/af
/usr/lib/.build-id/af/3937593703282de438cb24984b7fdf0cf03f60
/usr/lib/.build-id/bd
/usr/lib/.build-id/bd/a10f4c2e3263b0ccf83e008646c309b63d2528
/usr/lib/.build-id/c3
/usr/lib/.build-id/c3/1c77bfd4b329896e101338a9766609c67b219e
/usr/lib/.build-id/c6
/usr/lib/.build-id/c6/a83f9cec450932c63ce31c0c6793d202f96c63
/usr/lib/.build-id/c8
/usr/lib/.build-id/c8/65b3f65f005c70bc84751f81f17c9b40ea8a42
/usr/lib/.build-id/d3
/usr/lib/.build-id/d3/a402609b980db071edfbac1d7bde6573ca9e47
/usr/lib/.build-id/db
/usr/lib/.build-id/db/9a27ef2435c0342b20ccff5ee31bff0e5c61cf
/usr/lib/.build-id/e4
/usr/lib/.build-id/e4/a882ca6897edf1f562e969d39f0086b2f01cfd
/usr/lib/.build-id/e5
/usr/lib/.build-id/e5/069fb129a42e87c6876871f336a3845b78cbef
/usr/lib/.build-id/ed
/usr/lib/.build-id/ed/f4e00531d4d34a58904f62d9175fa12634dd97
/usr/lib/.build-id/fc
/usr/lib/.build-id/fc/7c7cc0180dc7edffb56f0b18dbe6778818ea64
/usr/lib/libtpm_unseal.so.1
/usr/lib/libtpm_unseal.so.1.0.0
/usr/sbin/tpm_changeownerauth
/usr/sbin/tpm_clear
/usr/sbin/tpm_createek
/usr/sbin/tpm_getpubek
/usr/sbin/tpm_nvdefine
/usr/sbin/tpm_nvinfo
/usr/sbin/tpm_nvread
/usr/sbin/tpm_nvrelease
/usr/sbin/tpm_nvwrite
/usr/sbin/tpm_resetdalock
/usr/sbin/tpm_restrictpubek
/usr/sbin/tpm_restrictsrk
/usr/sbin/tpm_revokeek
/usr/sbin/tpm_selftest
/usr/sbin/tpm_setactive
/usr/sbin/tpm_setclearable
/usr/sbin/tpm_setenable
/usr/sbin/tpm_setoperatorauth
/usr/sbin/tpm_setownable
/usr/sbin/tpm_setpresence
/usr/sbin/tpm_takeownership
/usr/sbin/tpm_version
/usr/share/doc/tpm-tools
/usr/share/doc/tpm-tools/README
/usr/share/licenses/tpm-tools
/usr/share/licenses/tpm-tools/LICENSE
/usr/share/man/man1/tpm_sealdata.1.gz
/usr/share/man/man1/tpm_unsealdata.1.gz
/usr/share/man/man1/tpm_version.1.gz
/usr/share/man/man8/tpm_changeownerauth.8.gz
/usr/share/man/man8/tpm_clear.8.gz
/usr/share/man/man8/tpm_createek.8.gz
/usr/share/man/man8/tpm_getpubek.8.gz
/usr/share/man/man8/tpm_nvdefine.8.gz
/usr/share/man/man8/tpm_nvinfo.8.gz
/usr/share/man/man8/tpm_nvread.8.gz
/usr/share/man/man8/tpm_nvrelease.8.gz
/usr/share/man/man8/tpm_nvwrite.8.gz
/usr/share/man/man8/tpm_resetdalock.8.gz
/usr/share/man/man8/tpm_restrictpubek.8.gz
/usr/share/man/man8/tpm_restrictsrk.8.gz
/usr/share/man/man8/tpm_revokeek.8.gz
/usr/share/man/man8/tpm_selftest.8.gz
/usr/share/man/man8/tpm_setactive.8.gz
/usr/share/man/man8/tpm_setclearable.8.gz
/usr/share/man/man8/tpm_setenable.8.gz
/usr/share/man/man8/tpm_setoperatorauth.8.gz
/usr/share/man/man8/tpm_setownable.8.gz
/usr/share/man/man8/tpm_setpresence.8.gz
/usr/share/man/man8/tpm_takeownership.8.gz

References

Summary

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