oz-customize command not found

In this troubleshooting guide we learn how to fix oz-customize command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

oz-customize: command not found

or when using sudo you get the following error message

sudo: oz-customize: command not found

Solutions to oz-customize: command not found

How To Fix oz-customize: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu oz-customize is provided by oz package.

oz is:

Oz is a tool for automatically installing guest OSs with only minimal up-front input from the user.

For each type of guest operating system, Oz supports up to three operations: operating system installation (oz-install), operating system customization (oz-customize), and ICICLE manifest generation (oz-generate-icicle).

Currently many versions of popular operating systems are supported, including Debian, Ubuntu, RHEL/CentOS, Fedora, openSUSE, Mandrake, and FreeBSD. See also virt-install(1) and virt-builder(1) from the virtinst and libguestfs-tools packages.

To fix this problem, we can install more using the command below.

sudo apt-get -y install oz

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install oz.

sudo apt -y install oz

Or if you have aptitude installed you can use the following command.

sudo aptitude install oz

Summary

In this tutorial we learn how to fix oz-customize command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.