How To Install tboot on Rocky Linux 8

In this tutorial we learn how to install tboot on Rocky Linux 8. tboot is Performs a verified launch using Intel TXT

Introduction

In this tutorial we learn how to install tboot on Rocky Linux 8.

What is tboot

Trusted Boot (tboot) is an open source, pre-kernel/VMM module that uses Intel Trusted Execution Technology (Intel TXT) to perform a measured and verified launch of an OS kernel/VMM.

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

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

sudo dnf -y install tboot

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

sudo yum -y install tboot

How To Uninstall tboot on Rocky Linux 8

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

sudo dnf remove tboot

tboot Package Contents on Rocky Linux 8

/boot/tboot-syms
/boot/tboot.gz
/etc/grub.d/20_linux_tboot
/etc/grub.d/20_linux_xen_tboot
/usr/lib/.build-id
/usr/lib/.build-id/06
/usr/lib/.build-id/06/5b684132fc52e9f748891587110bf578858c5c
/usr/lib/.build-id/0c
/usr/lib/.build-id/0c/5d894b4d8175b980b0ba61a08562f5e254b567
/usr/lib/.build-id/17
/usr/lib/.build-id/17/d82210434495f7538839a2b928d16a15a79132
/usr/lib/.build-id/2d
/usr/lib/.build-id/2d/8e17145f1cd3658e0c4e58da2139839c13586d
/usr/lib/.build-id/2e
/usr/lib/.build-id/2e/c3d98f6665572a6f6003737fa148daa010eeb7
/usr/lib/.build-id/75
/usr/lib/.build-id/75/4107ebd74f66fdac5414da61b467e2bbff8fee
/usr/lib/.build-id/78
/usr/lib/.build-id/78/70e04f8bf83ee0645eac30659bb88b57ded97e
/usr/lib/.build-id/92
/usr/lib/.build-id/92/59eae2f551001daa7c694e9d6ca260be3323d6
/usr/lib/.build-id/95
/usr/lib/.build-id/95/97ffcd8ec4b00eb1fccd9a3da7eaeef75a1df9
/usr/lib/.build-id/b7
/usr/lib/.build-id/b7/f6ee47da4668c9f4d8cb93136acfab2ec5ced4
/usr/lib/.build-id/b9
/usr/lib/.build-id/b9/6ced08adf30775fd793375255daad823c82210
/usr/lib/.build-id/bf
/usr/lib/.build-id/bf/7ed0332dc452d9c6049098372e7769b2fb1cc7
/usr/lib/.build-id/dd
/usr/lib/.build-id/dd/174effd9c0363eaa1c9bcff7d865a83c04b648
/usr/lib/.build-id/e2
/usr/lib/.build-id/e2/0eb6754af5d3767b0c044746aa982aefbcd399
/usr/sbin/acminfo
/usr/sbin/lcp2_crtpol
/usr/sbin/lcp2_crtpolelt
/usr/sbin/lcp2_crtpollist
/usr/sbin/lcp2_mlehash
/usr/sbin/lcp_readpol
/usr/sbin/lcp_writepol
/usr/sbin/parse_err
/usr/sbin/tb_polgen
/usr/sbin/tpmnv_defindex
/usr/sbin/tpmnv_getcap
/usr/sbin/tpmnv_lock
/usr/sbin/tpmnv_relindex
/usr/sbin/txt-stat
/usr/share/doc/tboot
/usr/share/doc/tboot/COPYING
/usr/share/doc/tboot/Linux_LCP_Tools_User_Manual.pdf
/usr/share/doc/tboot/Makefile
/usr/share/doc/tboot/README
/usr/share/doc/tboot/lcptools.txt
/usr/share/doc/tboot/man
/usr/share/doc/tboot/man/acminfo.8
/usr/share/doc/tboot/man/lcp_crtpconf.8
/usr/share/doc/tboot/man/lcp_crtpol.8
/usr/share/doc/tboot/man/lcp_crtpol2.8
/usr/share/doc/tboot/man/lcp_crtpolelt.8
/usr/share/doc/tboot/man/lcp_crtpollist.8
/usr/share/doc/tboot/man/lcp_mlehash.8
/usr/share/doc/tboot/man/lcp_readpol.8
/usr/share/doc/tboot/man/lcp_writepol.8
/usr/share/doc/tboot/man/tb_polgen.8
/usr/share/doc/tboot/man/txt-stat.8
/usr/share/doc/tboot/policy_v1.txt
/usr/share/doc/tboot/policy_v2.txt
/usr/share/doc/tboot/txt-info.txt
/usr/share/doc/tboot/vlp.txt
/usr/share/man/man8/acminfo.8.gz
/usr/share/man/man8/lcp_crtpconf.8.gz
/usr/share/man/man8/lcp_crtpol.8.gz
/usr/share/man/man8/lcp_crtpol2.8.gz
/usr/share/man/man8/lcp_crtpolelt.8.gz
/usr/share/man/man8/lcp_crtpollist.8.gz
/usr/share/man/man8/lcp_mlehash.8.gz
/usr/share/man/man8/lcp_readpol.8.gz
/usr/share/man/man8/lcp_writepol.8.gz
/usr/share/man/man8/tb_polgen.8.gz
/usr/share/man/man8/txt-stat.8.gz

References

Summary

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