How To Install tpm-tools-pkcs11 on Fedora 36
Introduction
In this tutorial we learn how to install tpm-tools-pkcs11
on Fedora 36.
What is tpm-tools-pkcs11
tpm-tools-pkcs11 is a group of tools that use the TPM PKCS#11 token. All data contained in the PKCS#11 data store is protected by the TPM (keys, certificates, etc.). You can import keys and certificates, list out the objects in the data store, and protect data.
We can use yum
or dnf
to install tpm-tools-pkcs11
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install tpm-tools-pkcs11.
Install tpm-tools-pkcs11 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 tpm-tools-pkcs11
using dnf
by running the following command:
sudo dnf -y install tpm-tools-pkcs11
Install tpm-tools-pkcs11 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 tpm-tools-pkcs11
using yum
by running the following command:
sudo yum -y install tpm-tools-pkcs11
How To Uninstall tpm-tools-pkcs11 on Fedora 36
To uninstall only the tpm-tools-pkcs11
package we can use the following command:
sudo dnf remove tpm-tools-pkcs11
tpm-tools-pkcs11 Package Contents on Fedora 36
/usr/bin/tpmtoken_import
/usr/bin/tpmtoken_init
/usr/bin/tpmtoken_objects
/usr/bin/tpmtoken_protect
/usr/bin/tpmtoken_setpasswd
/usr/lib/.build-id
/usr/lib/.build-id/02
/usr/lib/.build-id/02/cd65cfb19b61399dc1d711f24c2805006d3a43
/usr/lib/.build-id/09
/usr/lib/.build-id/09/0821899d0f7ea94721d61a09c6aa30522a18d8
/usr/lib/.build-id/76
/usr/lib/.build-id/76/28e9acdf9a270e0b791344ca93bb2dfd7f20fa
/usr/lib/.build-id/a0
/usr/lib/.build-id/a0/ebb8476e4a980acc47b6d3697dedf1b81dcc1e
/usr/lib/.build-id/ab/61a23a0d3491787f313eaf8df4646fd56c42d8
/usr/share/licenses/tpm-tools-pkcs11
/usr/share/licenses/tpm-tools-pkcs11/LICENSE
/usr/share/man/man1/tpmtoken_import.1.gz
/usr/share/man/man1/tpmtoken_init.1.gz
/usr/share/man/man1/tpmtoken_objects.1.gz
/usr/share/man/man1/tpmtoken_protect.1.gz
/usr/share/man/man1/tpmtoken_setpasswd.1.gz
References
Summary
In this tutorial we learn how to install tpm-tools-pkcs11
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).