How To Install dracut-kiwi-oem-repart on AlmaLinux 8

In this tutorial we learn how to install dracut-kiwi-oem-repart in AlmaLinux 8. dracut-kiwi-oem-repart is KIWI - Dracut module for oem(repart) image type

Introduction

In this tutorial we learn how to install dracut-kiwi-oem-repart on AlmaLinux 8.

What is dracut-kiwi-oem-repart

This package contains the kiwi-repart dracut module which is used to repartition the oem disk image to the current disk geometry according to the setup in the kiwi image configuration

We can use yum or dnf to install dracut-kiwi-oem-repart on AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install dracut-kiwi-oem-repart.

Install dracut-kiwi-oem-repart on AlmaLinux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install dracut-kiwi-oem-repart using dnf by running the following command:

sudo dnf -y install dracut-kiwi-oem-repart

Install dracut-kiwi-oem-repart on AlmaLinux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install dracut-kiwi-oem-repart using yum by running the following command:

sudo yum -y install dracut-kiwi-oem-repart

How To Uninstall dracut-kiwi-oem-repart on AlmaLinux 8

To uninstall only the dracut-kiwi-oem-repart package we can use the following command:

sudo dnf remove dracut-kiwi-oem-repart

References

Summary

In this tutorial we learn how to install dracut-kiwi-oem-repart on AlmaLinux 8 using yum and dnf.