How To Install greenboot on Fedora 36

In this tutorial we learn how to install greenboot in Fedora 36. greenboot is Generic Health Check Framework for systemd

Introduction

In this tutorial we learn how to install greenboot on Fedora 36.

What is greenboot

Generic Health Check Framework for systemd.

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

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

sudo dnf -y install greenboot

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

sudo yum -y install greenboot

How To Uninstall greenboot on Fedora 36

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

sudo dnf remove greenboot

greenboot Package Contents on Fedora 36

/etc/greenboot
/etc/greenboot/check
/etc/greenboot/check/required.d
/etc/greenboot/check/wanted.d
/etc/greenboot/green.d
/etc/greenboot/red.d
/usr/lib/greenboot
/usr/lib/greenboot/check
/usr/lib/greenboot/check/required.d
/usr/lib/greenboot/check/required.d/00_required_scripts_start.sh
/usr/lib/greenboot/check/wanted.d
/usr/lib/greenboot/check/wanted.d/00_wanted_scripts_start.sh
/usr/lib/greenboot/green.d
/usr/lib/greenboot/red.d
/usr/lib/motd.d/boot-status
/usr/lib/systemd/system/greenboot-grub2-set-counter.service
/usr/lib/systemd/system/greenboot-grub2-set-success.service
/usr/lib/systemd/system/greenboot-healthcheck.service
/usr/lib/systemd/system/greenboot-loading-message.service
/usr/lib/systemd/system/greenboot-rpm-ostree-grub2-check-fallback.service
/usr/lib/systemd/system/greenboot-status.service
/usr/lib/systemd/system/greenboot-task-runner.service
/usr/lib/systemd/system/redboot-auto-reboot.service
/usr/lib/systemd/system/redboot-task-runner.service
/usr/lib/systemd/system/redboot.target
/usr/lib/tmpfiles.d/greenboot-status-motd.conf
/usr/libexec/greenboot
/usr/libexec/greenboot/greenboot
/usr/libexec/greenboot/greenboot-grub2-set-counter
/usr/libexec/greenboot/greenboot-loading-message
/usr/libexec/greenboot/greenboot-rpm-ostree-grub2-check-fallback
/usr/libexec/greenboot/greenboot-status
/usr/libexec/greenboot/redboot-auto-reboot
/usr/share/doc/greenboot
/usr/share/doc/greenboot/README.md
/usr/share/licenses/greenboot
/usr/share/licenses/greenboot/LICENSE

References

Summary

In this tutorial we learn how to install greenboot on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).