How To Install lorax-templates-generic on Rocky Linux 8

In this tutorial we learn how to install lorax-templates-generic on Rocky Linux 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 Rocky Linux 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 Rocky Linux 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 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 lorax-templates-generic using dnf by running the following command:

sudo dnf -y install lorax-templates-generic

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

sudo yum -y install lorax-templates-generic

How To Uninstall lorax-templates-generic on Rocky Linux 8

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

sudo dnf remove lorax-templates-generic

lorax-templates-generic Package Contents on Rocky Linux 8

/usr/share/lorax/templates.d
/usr/share/lorax/templates.d/99-generic
/usr/share/lorax/templates.d/99-generic/aarch64.tmpl
/usr/share/lorax/templates.d/99-generic/appliance
/usr/share/lorax/templates.d/99-generic/appliance/libvirt.tmpl
/usr/share/lorax/templates.d/99-generic/arm.tmpl
/usr/share/lorax/templates.d/99-generic/config_files
/usr/share/lorax/templates.d/99-generic/config_files/aarch64
/usr/share/lorax/templates.d/99-generic/config_files/aarch64/boot.msg
/usr/share/lorax/templates.d/99-generic/config_files/aarch64/grub.conf
/usr/share/lorax/templates.d/99-generic/config_files/aarch64/grub2-efi.cfg
/usr/share/lorax/templates.d/99-generic/config_files/common
/usr/share/lorax/templates.d/99-generic/config_files/common/90-anaconda-no-auto-default.conf
/usr/share/lorax/templates.d/99-generic/config_files/common/91-anaconda-autoconnect-slaves.conf
/usr/share/lorax/templates.d/99-generic/config_files/common/92-anaconda-loglevel-debug.conf
/usr/share/lorax/templates.d/99-generic/config_files/common/bash_history
/usr/share/lorax/templates.d/99-generic/config_files/common/i18n
/usr/share/lorax/templates.d/99-generic/config_files/common/libuser.conf
/usr/share/lorax/templates.d/99-generic/config_files/common/org.gtk.Settings.Debug.gschema.override
/usr/share/lorax/templates.d/99-generic/config_files/common/pam.sshd
/usr/share/lorax/templates.d/99-generic/config_files/common/profile
/usr/share/lorax/templates.d/99-generic/config_files/common/resolv.conf
/usr/share/lorax/templates.d/99-generic/config_files/common/rsyslog.conf
/usr/share/lorax/templates.d/99-generic/config_files/common/selinux.config
/usr/share/lorax/templates.d/99-generic/config_files/common/spice-vdagentd
/usr/share/lorax/templates.d/99-generic/config_files/common/sshd_config.anaconda
/usr/share/lorax/templates.d/99-generic/config_files/common/sysctl.conf
/usr/share/lorax/templates.d/99-generic/config_files/common/vconsole.conf
/usr/share/lorax/templates.d/99-generic/config_files/ppc
/usr/share/lorax/templates.d/99-generic/config_files/ppc/bootinfo.txt
/usr/share/lorax/templates.d/99-generic/config_files/ppc/grub.cfg.in
/usr/share/lorax/templates.d/99-generic/config_files/ppc/mapping
/usr/share/lorax/templates.d/99-generic/config_files/ppc/ofboot.b
/usr/share/lorax/templates.d/99-generic/config_files/ppc/yaboot.conf.3264
/usr/share/lorax/templates.d/99-generic/config_files/ppc/yaboot.conf.in
/usr/share/lorax/templates.d/99-generic/config_files/s390
/usr/share/lorax/templates.d/99-generic/config_files/s390/cdboot.prm
/usr/share/lorax/templates.d/99-generic/config_files/s390/generic.ins
/usr/share/lorax/templates.d/99-generic/config_files/s390/generic.prm
/usr/share/lorax/templates.d/99-generic/config_files/s390/genericdvd.prm
/usr/share/lorax/templates.d/99-generic/config_files/s390/redhat.exec
/usr/share/lorax/templates.d/99-generic/config_files/sparc
/usr/share/lorax/templates.d/99-generic/config_files/sparc/boot.msg
/usr/share/lorax/templates.d/99-generic/config_files/sparc/silo.conf
/usr/share/lorax/templates.d/99-generic/config_files/x86
/usr/share/lorax/templates.d/99-generic/config_files/x86/boot.msg
/usr/share/lorax/templates.d/99-generic/config_files/x86/grub.conf
/usr/share/lorax/templates.d/99-generic/config_files/x86/grub2-efi.cfg
/usr/share/lorax/templates.d/99-generic/config_files/x86/isolinux.cfg
/usr/share/lorax/templates.d/99-generic/efi.tmpl
/usr/share/lorax/templates.d/99-generic/live
/usr/share/lorax/templates.d/99-generic/live/aarch64.tmpl
/usr/share/lorax/templates.d/99-generic/live/arm.tmpl
/usr/share/lorax/templates.d/99-generic/live/config_files
/usr/share/lorax/templates.d/99-generic/live/config_files/aarch64
/usr/share/lorax/templates.d/99-generic/live/config_files/aarch64/grub2-efi.cfg
/usr/share/lorax/templates.d/99-generic/live/config_files/ppc
/usr/share/lorax/templates.d/99-generic/live/config_files/ppc/bootinfo.txt
/usr/share/lorax/templates.d/99-generic/live/config_files/ppc/grub.cfg.in
/usr/share/lorax/templates.d/99-generic/live/config_files/ppc/mapping
/usr/share/lorax/templates.d/99-generic/live/config_files/ppc/ofboot.b
/usr/share/lorax/templates.d/99-generic/live/config_files/ppc/yaboot.conf.3264
/usr/share/lorax/templates.d/99-generic/live/config_files/ppc/yaboot.conf.in
/usr/share/lorax/templates.d/99-generic/live/config_files/s390
/usr/share/lorax/templates.d/99-generic/live/config_files/s390/cdboot.prm
/usr/share/lorax/templates.d/99-generic/live/config_files/s390/generic.ins
/usr/share/lorax/templates.d/99-generic/live/config_files/s390/generic.prm
/usr/share/lorax/templates.d/99-generic/live/config_files/s390/genericdvd.prm
/usr/share/lorax/templates.d/99-generic/live/config_files/s390/redhat.exec
/usr/share/lorax/templates.d/99-generic/live/config_files/x86
/usr/share/lorax/templates.d/99-generic/live/config_files/x86/boot.msg
/usr/share/lorax/templates.d/99-generic/live/config_files/x86/grub.conf
/usr/share/lorax/templates.d/99-generic/live/config_files/x86/grub2-efi.cfg
/usr/share/lorax/templates.d/99-generic/live/config_files/x86/isolinux.cfg
/usr/share/lorax/templates.d/99-generic/live/efi.tmpl
/usr/share/lorax/templates.d/99-generic/live/live-install.tmpl
/usr/share/lorax/templates.d/99-generic/live/ppc.tmpl
/usr/share/lorax/templates.d/99-generic/live/ppc64le.tmpl
/usr/share/lorax/templates.d/99-generic/live/s390.tmpl
/usr/share/lorax/templates.d/99-generic/live/x86.tmpl
/usr/share/lorax/templates.d/99-generic/ppc.tmpl
/usr/share/lorax/templates.d/99-generic/ppc64le.tmpl
/usr/share/lorax/templates.d/99-generic/pxe-live
/usr/share/lorax/templates.d/99-generic/pxe-live/pxe-config.tmpl
/usr/share/lorax/templates.d/99-generic/runtime-cleanup.tmpl
/usr/share/lorax/templates.d/99-generic/runtime-install.tmpl
/usr/share/lorax/templates.d/99-generic/runtime-postinstall.tmpl
/usr/share/lorax/templates.d/99-generic/s390.tmpl
/usr/share/lorax/templates.d/99-generic/x86.tmpl

References

Summary

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