How To Install tpm2-tss on Fedora 36
Introduction
In this tutorial we learn how to install tpm2-tss
on Fedora 36.
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.
We can use yum
or dnf
to install tpm2-tss
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install tpm2-tss.
Install tpm2-tss on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
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 Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
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 Fedora 36
To uninstall only the tpm2-tss
package we can use the following command:
sudo dnf remove tpm2-tss
tpm2-tss Package Contents on Fedora 36
/etc/tpm2-tss
/etc/tpm2-tss/fapi-config.json
/etc/tpm2-tss/fapi-profiles
/etc/tpm2-tss/fapi-profiles/P_ECCP256SHA256.json
/etc/tpm2-tss/fapi-profiles/P_RSA2048SHA256.json
/usr/lib/.build-id
/usr/lib/.build-id/12
/usr/lib/.build-id/12/45add50370147c8ef4d73a26628be5ee103c5c
/usr/lib/.build-id/2d
/usr/lib/.build-id/2d/5e17cdeac420e063adfc2ab43a5e0e2c420c8f
/usr/lib/.build-id/36
/usr/lib/.build-id/36/7b72fb1b574754491a1e18d514cb88c9662e9c
/usr/lib/.build-id/3b
/usr/lib/.build-id/3b/8bde2a849b17a8758c9dc29fb4cf5e0f91b421
/usr/lib/.build-id/60
/usr/lib/.build-id/60/cbf98dc7a24d0a0b4e99e87d2e597399583a5a
/usr/lib/.build-id/85
/usr/lib/.build-id/85/d9c196decb52264346c3efaec6aab4895d8ed5
/usr/lib/.build-id/89
/usr/lib/.build-id/89/a519fd9f75f84502f4c413f345bf11d3f786d9
/usr/lib/.build-id/8b
/usr/lib/.build-id/8b/d3162970b970dc121b009e82e614b200852e5a
/usr/lib/.build-id/93
/usr/lib/.build-id/93/f103fa7691cf40a1730da4f54b6dd716cb6f99
/usr/lib/.build-id/a2
/usr/lib/.build-id/a2/4ec679bc359bd42e62a8cedd889201cb78f0c7
/usr/lib/.build-id/d9
/usr/lib/.build-id/d9/81b2c46b71c10a6d61b207f86f09df25a670e6
/usr/lib/sysusers.d/tpm2-tss.conf
/usr/lib/tmpfiles.d/tpm2-tss-fapi.conf
/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-fapi.so.1
/usr/lib64/libtss2-fapi.so.1.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.1
/usr/lib64/libtss2-sys.so.1.0.0
/usr/lib64/libtss2-tcti-cmd.so.0
/usr/lib64/libtss2-tcti-cmd.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-tcti-pcap.so.0
/usr/lib64/libtss2-tcti-pcap.so.0.0.0
/usr/lib64/libtss2-tcti-swtpm.so.0
/usr/lib64/libtss2-tcti-swtpm.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
Summary
In this tutorial we learn how to install tpm2-tss
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).