How To Install tpm2-tss on CentOS 8
Introduction
In this tutorial we learn how to install tpm2-tss
on CentOS 8.
What is tpm2-tss
tpm2-tss is a software stack supporting Trusted Platform Module(TPM) 2.0 system APIs. It sits between TPM driver and applications, providing TPM2.0 specified APIs for applications to access TPM module through kernel TPM drivers. tpm2-tss 2.3.2 3.el8 x86_64 275 k tpm2-tss-2.3.2-3.el8.src.rpm baseos TPM2.0 Software Stack https BSD tpm2-tss is a software stack supporting Trusted Platform Module(TPM) 2.0 system APIs. It sits between TPM driver and applications, providing TPM2.0 specified APIs for applications to access TPM module through kernel TPM drivers.
We can use yum
or dnf
to install tpm2-tss
on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install tpm2-tss.
Install tpm2-tss 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
using dnf
by running the following command:
sudo dnf -y install tpm2-tss
Install tpm2-tss 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
using yum
by running the following command:
sudo yum -y install tpm2-tss
How To Uninstall tpm2-tss on CentOS 8
To uninstall only the tpm2-tss
package we can use the following command:
sudo dnf remove tpm2-tss
tpm2-tss Package Contents on CentOS 8
/usr/lib/.build-id
/usr/lib/.build-id/13
/usr/lib/.build-id/13/5f68f8184f578f79f4e7f106bdc92ccea48c90
/usr/lib/.build-id/24
/usr/lib/.build-id/24/47adb35c8fd729958db29bf0081743bbd2b934
/usr/lib/.build-id/48
/usr/lib/.build-id/48/8a04772ad0f9c171f3fa02484c22ebd9186ed3
/usr/lib/.build-id/49
/usr/lib/.build-id/49/a8f523a2213ee567d27aa6072960e7d17d021e
/usr/lib/.build-id/7d
/usr/lib/.build-id/7d/9bbf83cd99035ec4fb79d9ebb1d9002cd506fe
/usr/lib/.build-id/a6
/usr/lib/.build-id/a6/7b7e248d000cb48bc78dc637bfcc542501bdfa
/usr/lib/.build-id/b6
/usr/lib/.build-id/b6/e94a63d8dd8f611de98232f027c7022ebb5db8
/usr/lib/libtss2-esys.so.0
/usr/lib/libtss2-esys.so.0.0.0
/usr/lib/libtss2-mu.so.0
/usr/lib/libtss2-mu.so.0.0.0
/usr/lib/libtss2-rc.so.0
/usr/lib/libtss2-rc.so.0.0.0
/usr/lib/libtss2-sys.so.0
/usr/lib/libtss2-sys.so.0.0.0
/usr/lib/libtss2-tcti-device.so.0
/usr/lib/libtss2-tcti-device.so.0.0.0
/usr/lib/libtss2-tcti-mssim.so.0
/usr/lib/libtss2-tcti-mssim.so.0.0.0
/usr/lib/libtss2-tctildr.so.0
/usr/lib/libtss2-tctildr.so.0.0.0
/usr/lib/udev/rules.d/60-tpm-udev.rules
/usr/share/doc/tpm2-tss
/usr/share/doc/tpm2-tss/CHANGELOG.md
/usr/share/doc/tpm2-tss/README.md
/usr/share/licenses/tpm2-tss
/usr/share/licenses/tpm2-tss/LICENSE
/usr/lib/.build-id
/usr/lib/.build-id/2e
/usr/lib/.build-id/2e/3548403ad386fa6623ce6e72c182d72d7de8af
/usr/lib/.build-id/2e/a199d8ac874c1989dccc299266e1f7471351c1
/usr/lib/.build-id/65
/usr/lib/.build-id/65/59d01aab8b98dcb486ea4fb82be1d018f33249
/usr/lib/.build-id/75
/usr/lib/.build-id/75/f7bd483a120f25b3d2fa5e02c33098be41bae9
/usr/lib/.build-id/8e
/usr/lib/.build-id/8e/5b58508e74b37d295cfba7297190298b6f3134
/usr/lib/.build-id/c1
/usr/lib/.build-id/c1/57a9d355f21264dad398c5aa7f794effe6d29b
/usr/lib/.build-id/fe
/usr/lib/.build-id/fe/52f3bd0f3fd9168c7d211b0a551c7b19dceb79
/usr/lib/udev/rules.d/60-tpm-udev.rules
/usr/lib64/libtss2-esys.so.0
/usr/lib64/libtss2-esys.so.0.0.0
/usr/lib64/libtss2-mu.so.0
/usr/lib64/libtss2-mu.so.0.0.0
/usr/lib64/libtss2-rc.so.0
/usr/lib64/libtss2-rc.so.0.0.0
/usr/lib64/libtss2-sys.so.0
/usr/lib64/libtss2-sys.so.0.0.0
/usr/lib64/libtss2-tcti-device.so.0
/usr/lib64/libtss2-tcti-device.so.0.0.0
/usr/lib64/libtss2-tcti-mssim.so.0
/usr/lib64/libtss2-tcti-mssim.so.0.0.0
/usr/lib64/libtss2-tctildr.so.0
/usr/lib64/libtss2-tctildr.so.0.0.0
/usr/share/doc/tpm2-tss
/usr/share/doc/tpm2-tss/CHANGELOG.md
/usr/share/doc/tpm2-tss/README.md
/usr/share/licenses/tpm2-tss
/usr/share/licenses/tpm2-tss/LICENSE
References
- [tpm2-tss 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
on CentOS 8 using yum and dnf.