How To Install tboot on CentOS 8
Introduction
In this tutorial we learn how to install tboot
on CentOS 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 CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install tboot.
Install tboot 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 tboot
using dnf
by running the following command:
sudo dnf -y install tboot
Install tboot 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 tboot
using yum
by running the following command:
sudo yum -y install tboot
How To Uninstall tboot on CentOS 8
To uninstall only the tboot
package we can use the following command:
sudo dnf remove tboot
tboot Package Contents on CentOS 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/07
/usr/lib/.build-id/07/ad11113fb82a87f5665de8bddd9642b4cba15c
/usr/lib/.build-id/12
/usr/lib/.build-id/12/d7990d96861be3c18cae421c58a23f8f5e09ee
/usr/lib/.build-id/27
/usr/lib/.build-id/27/75b3b111c88d522db1c131fc16ee160edcf0f7
/usr/lib/.build-id/32
/usr/lib/.build-id/32/620b7710090521f8359110a5042ed33553217e
/usr/lib/.build-id/35
/usr/lib/.build-id/35/280a564aee2bc65d6ba6f3d10fbe084f6d294a
/usr/lib/.build-id/46
/usr/lib/.build-id/46/55d8af08b627fdee154f54b05bc556c1ef837d
/usr/lib/.build-id/49
/usr/lib/.build-id/49/c9690530a066da0aafdb2d5d66adb186e8353c
/usr/lib/.build-id/4e
/usr/lib/.build-id/4e/07a06885944e30dbc5a4c647fc84f2f7ba825a
/usr/lib/.build-id/54
/usr/lib/.build-id/54/65a618d8afa616eae2ee81d48abcbb45f105de
/usr/lib/.build-id/6f
/usr/lib/.build-id/6f/77d91108c87bf228bc5fa66645e3f238547f89
/usr/lib/.build-id/ad
/usr/lib/.build-id/ad/904a208afc8234297a77de323215bb241dfae3
/usr/lib/.build-id/b1
/usr/lib/.build-id/b1/63581805749a344199d28fe9c7a5e274347c16
/usr/lib/.build-id/e7
/usr/lib/.build-id/e7/b284153ebf6696469fb116f426687791a572e7
/usr/lib/.build-id/f2
/usr/lib/.build-id/f2/c091af7ba1257803f84fc4ae1ba0e567c583b1
/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 CentOS 8 using yum and dnf.