How To Install greenboot-reboot on Rocky Linux 8

In this tutorial we learn how to install greenboot-reboot on Rocky Linux 8. greenboot-reboot is Reboot on red status for greenboot

Introduction

In this tutorial we learn how to install greenboot-reboot on Rocky Linux 8.

What is greenboot-reboot

Reboot on red status for greenboot.

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

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

sudo dnf -y install greenboot-reboot

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

sudo yum -y install greenboot-reboot

How To Uninstall greenboot-reboot on Rocky Linux 8

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

sudo dnf remove greenboot-reboot

greenboot-reboot Package Contents on Rocky Linux 8

/usr/lib/systemd/system/redboot-auto-reboot.service
/usr/libexec/greenboot/redboot-auto-reboot

References

Summary

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