How To Install libtpms on Fedora 34

libtpms is Library providing Trusted Platform Module (TPM) functionality Library providing Trusted Platform Module (TPM) functionality

Introduction

In this tutorial we learn how to install libtpms on Fedora 34.

What is libtpms

A library providing TPM functionality for VMs. Targeted for integration into Qemu. libtpms 0.8.4 1.20210624gita594c4692a.fc34.1 x86_64 388 k libtpms-0.8.4-1.20210624gita594c4692a.fc34.1.src.rpm updates Library providing Trusted Platform Module (TPM) functionality http BSD A library providing TPM functionality for VMs. Targeted for integration into Qemu.

We can use yum or dnf to install libtpms on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install libtpms.

Install libtpms on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install libtpms using dnf by running the following command:

sudo dnf -y install libtpms

Install libtpms on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install libtpms using yum by running the following command:

sudo yum -y install libtpms

How To Uninstall libtpms on Fedora 34

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

sudo dnf remove libtpms

libtpms Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/1e
/usr/lib/.build-id/1e/00c3d11ad122b282791d75e91530ef565c4960
/usr/lib64/libtpms.so.0
/usr/lib64/libtpms.so.0.8.2
/usr/share/doc/libtpms
/usr/share/doc/libtpms/CHANGES
/usr/share/doc/libtpms/README
/usr/share/licenses/libtpms
/usr/share/licenses/libtpms/LICENSE
/usr/lib/.build-id
/usr/lib/.build-id/9e
/usr/lib/.build-id/9e/820e34569cb8b5bc41ea1b127501ddd1e070ae
/usr/lib64/libtpms.so.0
/usr/lib64/libtpms.so.0.8.4
/usr/share/doc/libtpms
/usr/share/doc/libtpms/CHANGES
/usr/share/doc/libtpms/README
/usr/share/licenses/libtpms
/usr/share/licenses/libtpms/LICENSE
/usr/lib/.build-id
/usr/lib/.build-id/ca
/usr/lib/.build-id/ca/de7290fa05888803f62b53a1da6a705d2d0e41
/usr/lib/libtpms.so.0
/usr/lib/libtpms.so.0.8.2
/usr/share/doc/libtpms
/usr/share/doc/libtpms/CHANGES
/usr/share/doc/libtpms/README
/usr/share/licenses/libtpms
/usr/share/licenses/libtpms/LICENSE
/usr/lib/.build-id
/usr/lib/.build-id/d3
/usr/lib/.build-id/d3/615b0ac2378cc44ba50b7d44be6d8dedefd9e9
/usr/lib/libtpms.so.0
/usr/lib/libtpms.so.0.8.4
/usr/share/doc/libtpms
/usr/share/doc/libtpms/CHANGES
/usr/share/doc/libtpms/README
/usr/share/licenses/libtpms
/usr/share/licenses/libtpms/LICENSE

References

Summary

In this tutorial we learn how to install libtpms on Fedora 34 using yum and dnf.