How To Install lorax on Fedora 34
Introduction
In this tutorial we learn how to install lorax
on Fedora 34.
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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install lorax.
Install lorax on Fedora 34 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install lorax
using dnf
by running the following command:
sudo dnf -y install lorax
Install lorax on Fedora 34 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install lorax
using yum
by running the following command:
sudo yum -y install lorax
How To Uninstall lorax on Fedora 34
To uninstall only the lorax
package we can use the following command:
sudo dnf remove lorax
lorax Package Contents on Fedora 34
/etc/lorax
/etc/lorax/lorax.conf
/usr/bin/image-minimizer
/usr/lib/python3.9/site-packages/lorax-devel-py3.9.egg-info
/usr/lib/python3.9/site-packages/pylorax
/usr/lib/python3.9/site-packages/pylorax/__init__.py
/usr/lib/python3.9/site-packages/pylorax/__pycache__
/usr/lib/python3.9/site-packages/pylorax/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/pylorax/__pycache__/__init__.cpython-39.pyc
/usr/lib/python3.9/site-packages/pylorax/__pycache__/base.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/pylorax/__pycache__/base.cpython-39.pyc
/usr/lib/python3.9/site-packages/pylorax/__pycache__/buildstamp.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/pylorax/__pycache__/buildstamp.cpython-39.pyc
/usr/lib/python3.9/site-packages/pylorax/__pycache__/cmdline.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/pylorax/__pycache__/cmdline.cpython-39.pyc
/usr/lib/python3.9/site-packages/pylorax/__pycache__/creator.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/pylorax/__pycache__/creator.cpython-39.pyc
/usr/lib/python3.9/site-packages/pylorax/__pycache__/decorators.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/pylorax/__pycache__/decorators.cpython-39.pyc
/usr/lib/python3.9/site-packages/pylorax/__pycache__/discinfo.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/pylorax/__pycache__/discinfo.cpython-39.pyc
/usr/lib/python3.9/site-packages/pylorax/__pycache__/dnfbase.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/pylorax/__pycache__/dnfbase.cpython-39.pyc
/usr/lib/python3.9/site-packages/pylorax/__pycache__/dnfhelper.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/pylorax/__pycache__/dnfhelper.cpython-39.pyc
/usr/lib/python3.9/site-packages/pylorax/__pycache__/executils.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/pylorax/__pycache__/executils.cpython-39.pyc
/usr/lib/python3.9/site-packages/pylorax/__pycache__/imgutils.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/pylorax/__pycache__/imgutils.cpython-39.pyc
/usr/lib/python3.9/site-packages/pylorax/__pycache__/installer.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/pylorax/__pycache__/installer.cpython-39.pyc
/usr/lib/python3.9/site-packages/pylorax/__pycache__/ltmpl.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/pylorax/__pycache__/ltmpl.cpython-39.pyc
/usr/lib/python3.9/site-packages/pylorax/__pycache__/monitor.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/pylorax/__pycache__/monitor.cpython-39.pyc
/usr/lib/python3.9/site-packages/pylorax/__pycache__/mount.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/pylorax/__pycache__/mount.cpython-39.pyc
/usr/lib/python3.9/site-packages/pylorax/__pycache__/output.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/pylorax/__pycache__/output.cpython-39.pyc
/usr/lib/python3.9/site-packages/pylorax/__pycache__/sysutils.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/pylorax/__pycache__/sysutils.cpython-39.pyc
/usr/lib/python3.9/site-packages/pylorax/__pycache__/treebuilder.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/pylorax/__pycache__/treebuilder.cpython-39.pyc
/usr/lib/python3.9/site-packages/pylorax/__pycache__/treeinfo.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/pylorax/__pycache__/treeinfo.cpython-39.pyc
/usr/lib/python3.9/site-packages/pylorax/__pycache__/version.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/pylorax/__pycache__/version.cpython-39.pyc
/usr/lib/python3.9/site-packages/pylorax/base.py
/usr/lib/python3.9/site-packages/pylorax/buildstamp.py
/usr/lib/python3.9/site-packages/pylorax/cmdline.py
/usr/lib/python3.9/site-packages/pylorax/creator.py
/usr/lib/python3.9/site-packages/pylorax/decorators.py
/usr/lib/python3.9/site-packages/pylorax/discinfo.py
/usr/lib/python3.9/site-packages/pylorax/dnfbase.py
/usr/lib/python3.9/site-packages/pylorax/dnfhelper.py
/usr/lib/python3.9/site-packages/pylorax/executils.py
/usr/lib/python3.9/site-packages/pylorax/imgutils.py
/usr/lib/python3.9/site-packages/pylorax/installer.py
/usr/lib/python3.9/site-packages/pylorax/ltmpl.py
/usr/lib/python3.9/site-packages/pylorax/monitor.py
/usr/lib/python3.9/site-packages/pylorax/mount.py
/usr/lib/python3.9/site-packages/pylorax/output.py
/usr/lib/python3.9/site-packages/pylorax/sysutils.py
/usr/lib/python3.9/site-packages/pylorax/treebuilder.py
/usr/lib/python3.9/site-packages/pylorax/treeinfo.py
/usr/lib/python3.9/site-packages/pylorax/version.py
/usr/lib/tmpfiles.d/lorax.conf
/usr/sbin/livemedia-creator
/usr/sbin/lorax
/usr/sbin/mkefiboot
/usr/sbin/mkksiso
/usr/share/doc/lorax
/usr/share/doc/lorax/AUTHORS
/usr/share/doc/lorax/composer-cli.rst
/usr/share/doc/lorax/fedora-atomic-pxe-live-novirt.ks
/usr/share/doc/lorax/fedora-atomic-pxe-live.ks
/usr/share/doc/lorax/fedora-docker.ks
/usr/share/doc/lorax/fedora-livemedia.ks
/usr/share/doc/lorax/fedora-minimal.ks
/usr/share/doc/lorax/fedora-minimized.ks
/usr/share/doc/lorax/fedora-openstack.ks
/usr/share/doc/lorax/fedora-vagrant.ks
/usr/share/doc/lorax/livemedia-creator.rst
/usr/share/doc/lorax/lorax-composer.rst
/usr/share/doc/lorax/lorax.rst
/usr/share/doc/lorax/product-images.rst
/usr/share/licenses/lorax
/usr/share/licenses/lorax/COPYING
/usr/share/lorax
/usr/share/man/man1/livemedia-creator.1.gz
/usr/share/man/man1/lorax.1.gz
/usr/share/man/man1/mkksiso.1.gz
/etc/lorax
/etc/lorax/lorax.conf
/usr/bin/image-minimizer
/usr/lib/python3.9/site-packages/lorax-devel-py3.9.egg-info
/usr/lib/python3.9/site-packages/pylorax
/usr/lib/python3.9/site-packages/pylorax/__init__.py
/usr/lib/python3.9/site-packages/pylorax/__pycache__
/usr/lib/python3.9/site-packages/pylorax/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/pylorax/__pycache__/__init__.cpython-39.pyc
/usr/lib/python3.9/site-packages/pylorax/__pycache__/base.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/pylorax/__pycache__/base.cpython-39.pyc
/usr/lib/python3.9/site-packages/pylorax/__pycache__/buildstamp.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/pylorax/__pycache__/buildstamp.cpython-39.pyc
/usr/lib/python3.9/site-packages/pylorax/__pycache__/cmdline.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/pylorax/__pycache__/cmdline.cpython-39.pyc
/usr/lib/python3.9/site-packages/pylorax/__pycache__/creator.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/pylorax/__pycache__/creator.cpython-39.pyc
/usr/lib/python3.9/site-packages/pylorax/__pycache__/decorators.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/pylorax/__pycache__/decorators.cpython-39.pyc
/usr/lib/python3.9/site-packages/pylorax/__pycache__/discinfo.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/pylorax/__pycache__/discinfo.cpython-39.pyc
/usr/lib/python3.9/site-packages/pylorax/__pycache__/dnfbase.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/pylorax/__pycache__/dnfbase.cpython-39.pyc
/usr/lib/python3.9/site-packages/pylorax/__pycache__/dnfhelper.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/pylorax/__pycache__/dnfhelper.cpython-39.pyc
/usr/lib/python3.9/site-packages/pylorax/__pycache__/executils.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/pylorax/__pycache__/executils.cpython-39.pyc
/usr/lib/python3.9/site-packages/pylorax/__pycache__/imgutils.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/pylorax/__pycache__/imgutils.cpython-39.pyc
/usr/lib/python3.9/site-packages/pylorax/__pycache__/installer.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/pylorax/__pycache__/installer.cpython-39.pyc
/usr/lib/python3.9/site-packages/pylorax/__pycache__/ltmpl.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/pylorax/__pycache__/ltmpl.cpython-39.pyc
/usr/lib/python3.9/site-packages/pylorax/__pycache__/monitor.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/pylorax/__pycache__/monitor.cpython-39.pyc
/usr/lib/python3.9/site-packages/pylorax/__pycache__/mount.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/pylorax/__pycache__/mount.cpython-39.pyc
/usr/lib/python3.9/site-packages/pylorax/__pycache__/output.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/pylorax/__pycache__/output.cpython-39.pyc
/usr/lib/python3.9/site-packages/pylorax/__pycache__/sysutils.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/pylorax/__pycache__/sysutils.cpython-39.pyc
/usr/lib/python3.9/site-packages/pylorax/__pycache__/treebuilder.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/pylorax/__pycache__/treebuilder.cpython-39.pyc
/usr/lib/python3.9/site-packages/pylorax/__pycache__/treeinfo.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/pylorax/__pycache__/treeinfo.cpython-39.pyc
/usr/lib/python3.9/site-packages/pylorax/__pycache__/version.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/pylorax/__pycache__/version.cpython-39.pyc
/usr/lib/python3.9/site-packages/pylorax/base.py
/usr/lib/python3.9/site-packages/pylorax/buildstamp.py
/usr/lib/python3.9/site-packages/pylorax/cmdline.py
/usr/lib/python3.9/site-packages/pylorax/creator.py
/usr/lib/python3.9/site-packages/pylorax/decorators.py
/usr/lib/python3.9/site-packages/pylorax/discinfo.py
/usr/lib/python3.9/site-packages/pylorax/dnfbase.py
/usr/lib/python3.9/site-packages/pylorax/dnfhelper.py
/usr/lib/python3.9/site-packages/pylorax/executils.py
/usr/lib/python3.9/site-packages/pylorax/imgutils.py
/usr/lib/python3.9/site-packages/pylorax/installer.py
/usr/lib/python3.9/site-packages/pylorax/ltmpl.py
/usr/lib/python3.9/site-packages/pylorax/monitor.py
/usr/lib/python3.9/site-packages/pylorax/mount.py
/usr/lib/python3.9/site-packages/pylorax/output.py
/usr/lib/python3.9/site-packages/pylorax/sysutils.py
/usr/lib/python3.9/site-packages/pylorax/treebuilder.py
/usr/lib/python3.9/site-packages/pylorax/treeinfo.py
/usr/lib/python3.9/site-packages/pylorax/version.py
/usr/lib/tmpfiles.d/lorax.conf
/usr/sbin/livemedia-creator
/usr/sbin/lorax
/usr/sbin/mkefiboot
/usr/sbin/mkksiso
/usr/share/doc/lorax
/usr/share/doc/lorax/AUTHORS
/usr/share/doc/lorax/fedora-atomic-pxe-live-novirt.ks
/usr/share/doc/lorax/fedora-atomic-pxe-live.ks
/usr/share/doc/lorax/fedora-docker.ks
/usr/share/doc/lorax/fedora-livemedia.ks
/usr/share/doc/lorax/fedora-minimal.ks
/usr/share/doc/lorax/fedora-minimized.ks
/usr/share/doc/lorax/fedora-openstack.ks
/usr/share/doc/lorax/fedora-vagrant.ks
/usr/share/doc/lorax/livemedia-creator.rst
/usr/share/doc/lorax/lorax.rst
/usr/share/doc/lorax/product-images.rst
/usr/share/licenses/lorax
/usr/share/licenses/lorax/COPYING
/usr/share/lorax
/usr/share/man/man1/livemedia-creator.1.gz
/usr/share/man/man1/lorax.1.gz
/usr/share/man/man1/mkksiso.1.gz
References
Summary
In this tutorial we learn how to install lorax
on Fedora 34 using yum and dnf.