How To Install oz on Fedora 34

oz is Library and utilities for automated guest OS installs

Introduction

In this tutorial we learn how to install oz on Fedora 34.

What is oz

Oz is a set of libraries and utilities for doing automated guest OS installations, with minimal input from the user.

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

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

sudo dnf -y install oz

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

sudo yum -y install oz

How To Uninstall oz on Fedora 34

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

sudo dnf remove oz

oz Package Contents on Fedora 34

/etc/oz
/etc/oz/oz.cfg
/usr/bin/oz-cleanup-cache
/usr/bin/oz-customize
/usr/bin/oz-generate-icicle
/usr/bin/oz-install
/usr/lib/python3.9/site-packages/oz
/usr/lib/python3.9/site-packages/oz-0.17.0-py3.9.egg-info
/usr/lib/python3.9/site-packages/oz/Debian.py
/usr/lib/python3.9/site-packages/oz/Fedora.py
/usr/lib/python3.9/site-packages/oz/FedoraCore.py
/usr/lib/python3.9/site-packages/oz/FreeBSD.py
/usr/lib/python3.9/site-packages/oz/Guest.py
/usr/lib/python3.9/site-packages/oz/GuestFSManager.py
/usr/lib/python3.9/site-packages/oz/GuestFactory.py
/usr/lib/python3.9/site-packages/oz/Linux.py
/usr/lib/python3.9/site-packages/oz/Mageia.py
/usr/lib/python3.9/site-packages/oz/Mandrake.py
/usr/lib/python3.9/site-packages/oz/Mandriva.py
/usr/lib/python3.9/site-packages/oz/OpenSUSE.py
/usr/lib/python3.9/site-packages/oz/OzException.py
/usr/lib/python3.9/site-packages/oz/RHEL_2_1.py
/usr/lib/python3.9/site-packages/oz/RHEL_3.py
/usr/lib/python3.9/site-packages/oz/RHEL_4.py
/usr/lib/python3.9/site-packages/oz/RHEL_5.py
/usr/lib/python3.9/site-packages/oz/RHEL_6.py
/usr/lib/python3.9/site-packages/oz/RHEL_7.py
/usr/lib/python3.9/site-packages/oz/RHL.py
/usr/lib/python3.9/site-packages/oz/RedHat.py
/usr/lib/python3.9/site-packages/oz/TDL.py
/usr/lib/python3.9/site-packages/oz/Ubuntu.py
/usr/lib/python3.9/site-packages/oz/Windows.py
/usr/lib/python3.9/site-packages/oz/__init__.py
/usr/lib/python3.9/site-packages/oz/__pycache__
/usr/lib/python3.9/site-packages/oz/__pycache__/Debian.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/oz/__pycache__/Debian.cpython-39.pyc
/usr/lib/python3.9/site-packages/oz/__pycache__/Fedora.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/oz/__pycache__/Fedora.cpython-39.pyc
/usr/lib/python3.9/site-packages/oz/__pycache__/FedoraCore.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/oz/__pycache__/FedoraCore.cpython-39.pyc
/usr/lib/python3.9/site-packages/oz/__pycache__/FreeBSD.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/oz/__pycache__/FreeBSD.cpython-39.pyc
/usr/lib/python3.9/site-packages/oz/__pycache__/Guest.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/oz/__pycache__/Guest.cpython-39.pyc
/usr/lib/python3.9/site-packages/oz/__pycache__/GuestFSManager.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/oz/__pycache__/GuestFSManager.cpython-39.pyc
/usr/lib/python3.9/site-packages/oz/__pycache__/GuestFactory.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/oz/__pycache__/GuestFactory.cpython-39.pyc
/usr/lib/python3.9/site-packages/oz/__pycache__/Linux.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/oz/__pycache__/Linux.cpython-39.pyc
/usr/lib/python3.9/site-packages/oz/__pycache__/Mageia.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/oz/__pycache__/Mageia.cpython-39.pyc
/usr/lib/python3.9/site-packages/oz/__pycache__/Mandrake.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/oz/__pycache__/Mandrake.cpython-39.pyc
/usr/lib/python3.9/site-packages/oz/__pycache__/Mandriva.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/oz/__pycache__/Mandriva.cpython-39.pyc
/usr/lib/python3.9/site-packages/oz/__pycache__/OpenSUSE.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/oz/__pycache__/OpenSUSE.cpython-39.pyc
/usr/lib/python3.9/site-packages/oz/__pycache__/OzException.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/oz/__pycache__/OzException.cpython-39.pyc
/usr/lib/python3.9/site-packages/oz/__pycache__/RHEL_2_1.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/oz/__pycache__/RHEL_2_1.cpython-39.pyc
/usr/lib/python3.9/site-packages/oz/__pycache__/RHEL_3.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/oz/__pycache__/RHEL_3.cpython-39.pyc
/usr/lib/python3.9/site-packages/oz/__pycache__/RHEL_4.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/oz/__pycache__/RHEL_4.cpython-39.pyc
/usr/lib/python3.9/site-packages/oz/__pycache__/RHEL_5.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/oz/__pycache__/RHEL_5.cpython-39.pyc
/usr/lib/python3.9/site-packages/oz/__pycache__/RHEL_6.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/oz/__pycache__/RHEL_6.cpython-39.pyc
/usr/lib/python3.9/site-packages/oz/__pycache__/RHEL_7.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/oz/__pycache__/RHEL_7.cpython-39.pyc
/usr/lib/python3.9/site-packages/oz/__pycache__/RHL.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/oz/__pycache__/RHL.cpython-39.pyc
/usr/lib/python3.9/site-packages/oz/__pycache__/RedHat.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/oz/__pycache__/RedHat.cpython-39.pyc
/usr/lib/python3.9/site-packages/oz/__pycache__/TDL.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/oz/__pycache__/TDL.cpython-39.pyc
/usr/lib/python3.9/site-packages/oz/__pycache__/Ubuntu.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/oz/__pycache__/Ubuntu.cpython-39.pyc
/usr/lib/python3.9/site-packages/oz/__pycache__/Windows.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/oz/__pycache__/Windows.cpython-39.pyc
/usr/lib/python3.9/site-packages/oz/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/oz/__pycache__/__init__.cpython-39.pyc
/usr/lib/python3.9/site-packages/oz/__pycache__/ozutil.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/oz/__pycache__/ozutil.cpython-39.pyc
/usr/lib/python3.9/site-packages/oz/auto
/usr/lib/python3.9/site-packages/oz/auto/Debian5.auto
/usr/lib/python3.9/site-packages/oz/auto/Debian6.auto
/usr/lib/python3.9/site-packages/oz/auto/Debian7.auto
/usr/lib/python3.9/site-packages/oz/auto/Debian8.auto
/usr/lib/python3.9/site-packages/oz/auto/Debian9.auto
/usr/lib/python3.9/site-packages/oz/auto/Fedora10.auto
/usr/lib/python3.9/site-packages/oz/auto/Fedora11.auto
/usr/lib/python3.9/site-packages/oz/auto/Fedora12.auto
/usr/lib/python3.9/site-packages/oz/auto/Fedora13.auto
/usr/lib/python3.9/site-packages/oz/auto/Fedora14.auto
/usr/lib/python3.9/site-packages/oz/auto/Fedora15.auto
/usr/lib/python3.9/site-packages/oz/auto/Fedora16.auto
/usr/lib/python3.9/site-packages/oz/auto/Fedora17.auto
/usr/lib/python3.9/site-packages/oz/auto/Fedora18.auto
/usr/lib/python3.9/site-packages/oz/auto/Fedora19.auto
/usr/lib/python3.9/site-packages/oz/auto/Fedora20.auto
/usr/lib/python3.9/site-packages/oz/auto/Fedora21.auto
/usr/lib/python3.9/site-packages/oz/auto/Fedora22.auto
/usr/lib/python3.9/site-packages/oz/auto/Fedora23.auto
/usr/lib/python3.9/site-packages/oz/auto/Fedora24.auto
/usr/lib/python3.9/site-packages/oz/auto/Fedora25.auto
/usr/lib/python3.9/site-packages/oz/auto/Fedora26.auto
/usr/lib/python3.9/site-packages/oz/auto/Fedora27.auto
/usr/lib/python3.9/site-packages/oz/auto/Fedora28.auto
/usr/lib/python3.9/site-packages/oz/auto/Fedora29.auto
/usr/lib/python3.9/site-packages/oz/auto/Fedora30.auto
/usr/lib/python3.9/site-packages/oz/auto/Fedora7.auto
/usr/lib/python3.9/site-packages/oz/auto/Fedora8.auto
/usr/lib/python3.9/site-packages/oz/auto/Fedora9.auto
/usr/lib/python3.9/site-packages/oz/auto/FedoraCore1.auto
/usr/lib/python3.9/site-packages/oz/auto/FedoraCore2.auto
/usr/lib/python3.9/site-packages/oz/auto/FedoraCore3.auto
/usr/lib/python3.9/site-packages/oz/auto/FedoraCore4.auto
/usr/lib/python3.9/site-packages/oz/auto/FedoraCore5.auto
/usr/lib/python3.9/site-packages/oz/auto/FedoraCore6.auto
/usr/lib/python3.9/site-packages/oz/auto/FreeBSD10.0.auto
/usr/lib/python3.9/site-packages/oz/auto/FreeBSD11.0.auto
/usr/lib/python3.9/site-packages/oz/auto/Mageia2.auto
/usr/lib/python3.9/site-packages/oz/auto/Mageia3.auto
/usr/lib/python3.9/site-packages/oz/auto/Mageia4.1.auto
/usr/lib/python3.9/site-packages/oz/auto/Mageia4.auto
/usr/lib/python3.9/site-packages/oz/auto/Mageia5.auto
/usr/lib/python3.9/site-packages/oz/auto/Mandrake10.0.auto
/usr/lib/python3.9/site-packages/oz/auto/Mandrake10.1.auto
/usr/lib/python3.9/site-packages/oz/auto/Mandrake8.2.auto
/usr/lib/python3.9/site-packages/oz/auto/Mandrake9.0.auto
/usr/lib/python3.9/site-packages/oz/auto/Mandrake9.1.auto
/usr/lib/python3.9/site-packages/oz/auto/Mandrake9.2.auto
/usr/lib/python3.9/site-packages/oz/auto/Mandriva2005.auto
/usr/lib/python3.9/site-packages/oz/auto/Mandriva2006.0.auto
/usr/lib/python3.9/site-packages/oz/auto/Mandriva2007.0.auto
/usr/lib/python3.9/site-packages/oz/auto/Mandriva2008.0.auto
/usr/lib/python3.9/site-packages/oz/auto/OpenSUSE10.3.auto
/usr/lib/python3.9/site-packages/oz/auto/OpenSUSE11.0.auto
/usr/lib/python3.9/site-packages/oz/auto/OpenSUSE11.1.auto
/usr/lib/python3.9/site-packages/oz/auto/OpenSUSE11.2.auto
/usr/lib/python3.9/site-packages/oz/auto/OpenSUSE11.3.auto
/usr/lib/python3.9/site-packages/oz/auto/OpenSUSE11.4.auto
/usr/lib/python3.9/site-packages/oz/auto/OpenSUSE12.1.auto
/usr/lib/python3.9/site-packages/oz/auto/OpenSUSE12.2.auto
/usr/lib/python3.9/site-packages/oz/auto/OpenSUSE12.3.auto
/usr/lib/python3.9/site-packages/oz/auto/OpenSUSE13.1.auto
/usr/lib/python3.9/site-packages/oz/auto/OpenSUSE13.2.auto
/usr/lib/python3.9/site-packages/oz/auto/OpenSUSE42.1.auto
/usr/lib/python3.9/site-packages/oz/auto/OpenSUSE42.2.auto
/usr/lib/python3.9/site-packages/oz/auto/RHEL2.1.auto
/usr/lib/python3.9/site-packages/oz/auto/RHEL3.auto
/usr/lib/python3.9/site-packages/oz/auto/RHEL4.auto
/usr/lib/python3.9/site-packages/oz/auto/RHEL5.auto
/usr/lib/python3.9/site-packages/oz/auto/RHEL6.auto
/usr/lib/python3.9/site-packages/oz/auto/RHEL7.auto
/usr/lib/python3.9/site-packages/oz/auto/RedHatLinux7.0.auto
/usr/lib/python3.9/site-packages/oz/auto/RedHatLinux7.1.auto
/usr/lib/python3.9/site-packages/oz/auto/RedHatLinux7.2.auto
/usr/lib/python3.9/site-packages/oz/auto/RedHatLinux7.3.auto
/usr/lib/python3.9/site-packages/oz/auto/RedHatLinux8.auto
/usr/lib/python3.9/site-packages/oz/auto/RedHatLinux9.auto
/usr/lib/python3.9/site-packages/oz/auto/Ubuntu10.04.auto
/usr/lib/python3.9/site-packages/oz/auto/Ubuntu10.10.auto
/usr/lib/python3.9/site-packages/oz/auto/Ubuntu11.04.auto
/usr/lib/python3.9/site-packages/oz/auto/Ubuntu11.10.auto
/usr/lib/python3.9/site-packages/oz/auto/Ubuntu12.04.auto
/usr/lib/python3.9/site-packages/oz/auto/Ubuntu12.10.auto
/usr/lib/python3.9/site-packages/oz/auto/Ubuntu13.04.auto
/usr/lib/python3.9/site-packages/oz/auto/Ubuntu13.10.auto
/usr/lib/python3.9/site-packages/oz/auto/Ubuntu14.04.auto
/usr/lib/python3.9/site-packages/oz/auto/Ubuntu14.10.auto
/usr/lib/python3.9/site-packages/oz/auto/Ubuntu15.04.auto
/usr/lib/python3.9/site-packages/oz/auto/Ubuntu15.10.auto
/usr/lib/python3.9/site-packages/oz/auto/Ubuntu16.04.auto
/usr/lib/python3.9/site-packages/oz/auto/Ubuntu16.10.auto
/usr/lib/python3.9/site-packages/oz/auto/Ubuntu17.04.auto
/usr/lib/python3.9/site-packages/oz/auto/Ubuntu17.10.auto
/usr/lib/python3.9/site-packages/oz/auto/Ubuntu18.04.auto
/usr/lib/python3.9/site-packages/oz/auto/Ubuntu5.04.auto
/usr/lib/python3.9/site-packages/oz/auto/Ubuntu5.10.auto
/usr/lib/python3.9/site-packages/oz/auto/Ubuntu6.06.auto
/usr/lib/python3.9/site-packages/oz/auto/Ubuntu6.10.auto
/usr/lib/python3.9/site-packages/oz/auto/Ubuntu7.04.auto
/usr/lib/python3.9/site-packages/oz/auto/Ubuntu7.10.auto
/usr/lib/python3.9/site-packages/oz/auto/Ubuntu8.04.auto
/usr/lib/python3.9/site-packages/oz/auto/Ubuntu8.10.auto
/usr/lib/python3.9/site-packages/oz/auto/Ubuntu9.04.auto
/usr/lib/python3.9/site-packages/oz/auto/Ubuntu9.10.auto
/usr/lib/python3.9/site-packages/oz/auto/Windows10.auto
/usr/lib/python3.9/site-packages/oz/auto/Windows2000.auto
/usr/lib/python3.9/site-packages/oz/auto/Windows2003.auto
/usr/lib/python3.9/site-packages/oz/auto/Windows2008.auto
/usr/lib/python3.9/site-packages/oz/auto/Windows2012.auto
/usr/lib/python3.9/site-packages/oz/auto/Windows2016.auto
/usr/lib/python3.9/site-packages/oz/auto/Windows7.auto
/usr/lib/python3.9/site-packages/oz/auto/Windows8.1.auto
/usr/lib/python3.9/site-packages/oz/auto/Windows8.auto
/usr/lib/python3.9/site-packages/oz/auto/WindowsXP.auto
/usr/lib/python3.9/site-packages/oz/icicle.rng
/usr/lib/python3.9/site-packages/oz/ozutil.py
/usr/lib/python3.9/site-packages/oz/tdl.rng
/usr/share/doc/oz
/usr/share/doc/oz/README
/usr/share/doc/oz/examples
/usr/share/doc/oz/examples/f12i386.tdl
/usr/share/doc/oz/examples/f12x86_64.tdl
/usr/share/doc/oz/examples/f13i386.tdl
/usr/share/doc/oz/examples/f14i386local.tdl
/usr/share/doc/oz/examples/f18disksize.tdl
/usr/share/doc/oz/examples/f18file.tdl
/usr/share/doc/oz/examples/f18isoextradir.tdl
/usr/share/doc/oz/examples/f18isoextrafile.tdl
/usr/share/doc/oz/examples/freebsd10.tdl
/usr/share/doc/oz/examples/opensuse11.3i386.tdl
/usr/share/doc/oz/examples/ubuntu9.10i386.tdl
/usr/share/doc/oz/examples/win2k.tdl
/usr/share/licenses/oz
/usr/share/licenses/oz/COPYING
/usr/share/man/man1/oz-cleanup-cache.1.gz
/usr/share/man/man1/oz-customize.1.gz
/usr/share/man/man1/oz-examples.1.gz
/usr/share/man/man1/oz-generate-icicle.1.gz
/usr/share/man/man1/oz-install.1.gz
/var/lib/oz
/var/lib/oz/floppies
/var/lib/oz/floppycontent
/var/lib/oz/icicletmp
/var/lib/oz/isocontent
/var/lib/oz/isos
/var/lib/oz/jeos
/var/lib/oz/kernels
/var/lib/oz/screenshots

References

Summary

In this tutorial we learn how to install oz on Fedora 34 using yum and dnf.