How To Install lorax on CentOS 7

In this tutorial we learn how to install lorax on CentOS 7. lorax is Tool for creating the anaconda install images

Introduction

In this tutorial we learn how to install lorax on CentOS 7.

What is lorax

Lorax is a tool for creating the anaconda install images. It also includes livemedia-creator which is used to create bootable livemedia, including live isos and disk images. It can use libvirtd for the install, or Anaconda’s image install feature.

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

Install lorax on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install lorax using yum by running the following command:

sudo yum -y install lorax

Install lorax on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install lorax using dnf by running the following command:

sudo dnf -y install lorax

How To Uninstall lorax on CentOS 7

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

sudo dnf remove lorax

References

Summary

In this tutorial we learn how to install lorax on CentOS 7 using yum and dnf.