How To Install lorax-templates-generic on AlmaLinux 8

In this tutorial we learn how to install lorax-templates-generic in AlmaLinux 8. lorax-templates-generic is Generic build templates for lorax and livemedia-creator

Introduction

In this tutorial we learn how to install lorax-templates-generic on AlmaLinux 8.

What is lorax-templates-generic

Lorax templates for creating the boot.iso and live isos are placed in /usr/share/lorax/templates.d/99-generic

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

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

sudo dnf -y install lorax-templates-generic

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

sudo yum -y install lorax-templates-generic

How To Uninstall lorax-templates-generic on AlmaLinux 8

To uninstall only the lorax-templates-generic package we can use the following command:

sudo dnf remove lorax-templates-generic

References

Summary

In this tutorial we learn how to install lorax-templates-generic on AlmaLinux 8 using yum and dnf.